[R] Simultaneous Equation Model with Dichotomous Dependent Variables

2020-10-04 Thread Casey Mallon
Hello everyone! I am currently working with a time series panel data set measuring six dependent variables: 4 of which are binary and 2 of which are count data. I am interested in constructing a model to measure if the dependent variables influence one another. For example: DV1~ DV2 + IV1+IV2+

Re: [R] how to get a numeric vector?

2020-10-04 Thread Avi Gross via R-help
Always hard to tell if THIS is a homework project. As with most things in R, if you can not find at least a dozen ways to do it, it is not worth doing. The question (way below) was how to take two vectors of length two and make a longer results based on using the ":" operator to generate a range b

[R] data error problem

2020-10-04 Thread Mir Md. Abdus Salam
Dear all, I need urgent help. I am a new user of R. I got the following error anovamine<-read.table("spike cu.txt",header=TRUE) Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 9 elements Can anybody please help me to solve this problem why I am

Re: [R] how to get a numeric vector?

2020-10-04 Thread John Fox
Dear vod vos, On 2020-10-04 6:47 p.m., vod vos via R-help wrote: Hi, a <- c(1, 4) b <- c(5, 8) a:b [1] 1 2 3 4 5 Warning messages: 1: In a:b : numerical expression has 2 elements: only the first used 2: In a:b : numerical expression has 2 elements: only the first used how to get: c(1:5, 4:8

[R] how to get a numeric vector?

2020-10-04 Thread vod vos via R-help
Hi, a <- c(1, 4) b <- c(5, 8) a:b [1] 1 2 3 4 5 Warning messages: 1: In a:b : numerical expression has 2 elements: only the first used 2: In a:b : numerical expression has 2 elements: only the first used how to get: c(1:5, 4:8) Thanks. __ R-help@r-

Re: [R] Help in R code

2020-10-04 Thread Rui Barradas
Hello, This is cross-posted, you have posted the same question in SO[1]. Cross-posting is not well seen, post the question in one place and please wait a few days for an answer before posting here. [1] https://stackoverflow.com/questions/64197235/forecasting-of-multivariate-data-through-vecto

[R] Help in R code

2020-10-04 Thread Faheem Jan via R-help
Hello , i am working in the functional time series using themultivariate time series data(hourly time series data). SirĀ  i am usingFAR model more than one order for which no statistical package is available inR, so for this i convert my data into functional form and obtained thefunctional princi