[R] Problem to find the Maximum likelihood estimates of generalized normal distribution in R

2019-04-17 Thread jawad hussain via R-help
df_exps, starts = c(1,1,1,1),data = data2 , method = "BFGS", domain = c(-Inf,Inf), lim_inf = c(0,0,0,0), lim_sup = c(2,2,2,2), S = 250, prop=0.1, N=50) result_2$mle Error in optim(par = starts, fn = likelihood, x = data, method = "BFGS", : non-finite fin

[R] Rolling Granger Causality

2015-07-13 Thread Syed Jawad Hussain Shahzad
I am using MSBVAR package in R, and have used the following codes: library("MSBVAR") data(IsraelPalestineConflict) granger.test.c <- function(x) c(granger.test(x, p = 6)) aa<-rollapplyr(IsraelPalestineConflict, 1275, granger.test.c, by.column = FALSE ) In rollapply, the width is 1275 (data contai

[R] Rolling Window Granger Causality

2015-07-11 Thread Syed Jawad Hussain Shahzad
Dear Sir, Hi I am new to R and want some help on the subject analysis. I need help to apply causality analysis (available in Package 'VARS') with a per-define rolling window (like rollapply in Package 'Zoo'). Best Wishes Jawad __ R-help@r-project.org m

[R] cURL ?

2013-05-03 Thread jawad hussain
Dear Sir I tried to find cURL on web but I do not find reliable file; there are some files on http://curl.haxx.se/. But I do not know which is suitable for R and how to install? Kind Regards Jawad Hussain Ashraf VPO Aroop, Tehsil and District GujranwalaMobile phone# 03016673275 > D

[R] unsupported url scheme

2013-04-28 Thread jawad hussain
nload.file(fileUrl, destfile = "Cameras.csv") : unsupported URL schemeI can you help me to solve this problem. JAWAD HUSSAIN ASHRAF [[alternative HTML version deleted]] __ R-help@r-project.org mail