Questions tagged as 'r'

0
answers

Difference between VAR and Structural VAR and Cholesky Estimation in R

I'm studying the Autoregressive Vectors (VAR) method. The pet part I understand, but there is one question that intrigues me. Is there a differentiation between VAR and Structural Var? Is not the same thing? Why is this division? Once estimat...
asked by 12.06.2017 / 15:34
0
answers

Problem of type std :: bad_alloc

I am trying to read from a database that is in .xlsx. It has approximately 90,000 rows and 70 columns. I am using the package openxlsx and I have had the error: Error in eval(substitute(expr), envir, enclos) : std::bad_alloc The desk...
asked by 30.03.2017 / 15:05
0
answers

Error submitting form

Good afternoon, I have a code that works for some forms on the web and I'm trying to reuse it on this site: link However, my code can not find the form, it follows the code and the answer: #library's require(RCurl) require(XML) require...
asked by 28.03.2017 / 20:57
0
answers

Use of ks.test for Poisson distribution

Good evening, everyone. I am having a question about using the ks.test function. It's giving completely different results when I use ks.test specifying the probability distribution: ks.test (amostra$x,"ppois",lambda=mean(amostra$x)) And...
asked by 17.08.2017 / 03:14
1
answer

how to define the input array for RNA training in the rnn package?

In the rnn package there is an example of how to do network training, which is described in this link (example 1). In the approach of this package the entries are given in the format of a array 3D, where the dim 1: samples; dim 2:...
asked by 08.08.2017 / 07:38
0
answers

Machine Learning using R and excel [closed]

Hello I have some data that I tab in excel monthly, which is very repetitive. I would like to know if there is any way to use machine learning in R to teach an algorithm, based on the data I already have, to fill in the new incoming data. Basica...
asked by 15.02.2017 / 12:25
1
answer

Translation from Matlab to R with system (sprintf ())

I'm trying to translate the following matlab code into the R: clear all nsta = [1,2,3]; npx = [2,3,4,5]; npu = [2,3,4,5]; nmax = 2500; nome = 'MODEL1b'; system(sprintf('del %s.log',nome)); nfiles = 0; for k = 1:length(nsta) for i = 1:len...
asked by 21.05.2017 / 18:05
0
answers

GMM (Generalized Method of Moments) in R

I use GMM and would like, given a set of possible instrumental variables, R to provide me the best combination with lags. For example modelo GMM x ~ a b c d VI q y z R provide, for example based on one information criterion or another,...
asked by 27.12.2016 / 05:52
0
answers

What is the required format of the data for a space usage analysis in the adehabitatHR package in R?

I'm working with location data (latitude and longitude coordinates obtained in GPS) to delimit areas of life with kernel and MCP in the AdehabitatHR package. I have already prepared the excel file containing individuals' names, information such...
asked by 14.11.2016 / 19:04
1
answer

RSelenium has stopped working, what should I do?

library(RSelenium) checkForServer() startServer() remDrv <- remoteDriver(browserName = 'firefox') remDrv$open()**texto em negrito** Selenium message:The path to the driver executable must be set by the webdriver.gecko.driver system prope...
asked by 13.11.2016 / 01:55