Displaying 1 result from an estimated 1 matches for "eqsystem2".
Did you mean:
eqsystem
2011 Jun 21
1
Setting up list of many equations for systemfit
...Y4 ~ X1 + X3 + X4eqSystem <-list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)
#atempt 1 to "automate" above:eqSystem1 <-paste(paste("form", 1:4, sep=""), paste("EQ", 1:4,sep=""),sep="=")
#attempt 2 "automate" above:eqSystem2 <-as.list(paste(paste("form", 1:4, sep=""), paste("EQ", 1:4,sep=""),sep="="))
Here are the results:
The results that I want to get:> eqSystem1$form1Y1 ~ X1 + X2 + X4
$form2Y2 ~ X2 + X3
$form3Y3 ~ X2 + X3 + X4
$form4Y4 ~ X1 + X3 + X4
The resul...