Displaying 20 results from an estimated 2000 matches similar to: "Thanks for help"
2007 Dec 18
0
New version of systemfit (not backward compatible)
Dear R users,
the systemfit package contains functions for fitting systems of simultaneous
equations by various estimation methods (e.g. OLS, SUR, 2SLS, 3SLS).
Currently version 0.8 of systemfit is available on CRAN. However, shortly we
will upload version 1.0, which is NOT BACKWARD COMPATIBLE. The changes that
broke backward compatibility were necessary to make systemfit() more similar
to
2007 Dec 18
0
New version of systemfit (not backward compatible)
Dear R users,
the systemfit package contains functions for fitting systems of simultaneous
equations by various estimation methods (e.g. OLS, SUR, 2SLS, 3SLS).
Currently version 0.8 of systemfit is available on CRAN. However, shortly we
will upload version 1.0, which is NOT BACKWARD COMPATIBLE. The changes that
broke backward compatibility were necessary to make systemfit() more similar
to
2007 Apr 05
2
about systemfit
Hello. I am still a newbie in R. Excuse me if I am asking something obvious. My efforts to get an answer through browsing the mailing archives failed. I want to perform an augmented Dickey-Fuller test and to obtain AIC and BIC and to be able to impose some linear restrictions on the ADF regression so as to decide the correct order of autoregression. However I could find no obvious way to impose
2011 May 19
1
svytable and na's
hi,
i am trying to work with the survey package in order to apply survey design weights. the data set i am using - ess - contains missing values.
my question: when using svytable(~variable1+variable2, design=my.svydesign.object, na.rm=T) the resulting crosstable contains all missings although i defined the na's as such.
any ideas???
thanks a lot,
katharina
2007 Aug 16
0
summarising systemfit with saveMemory
Hi all -
I'm on R 2.5.1 for XP.
in the systemfit package, the summary is set to print the McElroy's
measure of fit unless it's NULL. When the option saveMemory = TRUE,
the McElroy isn't included, instead it defaults to NA. Thus I am
unable to use summary.systemfit.
> library(systemfit)
> example(systemfit)
> surfit2 <-
2010 Sep 03
1
How to use lm() output for systemfit() 'Seemingly unrelated regression'
I am having problem using output of lm() function for further analysing using
systemfit package.
Basicaly, the problem s following - I generate several formulas using lm()
> fo1 <- lm(r98[,2] ~ f98[,1] + f98[,2] + ... + f98[,43])
> fo2 <- lm(r98[,1] ~ f98[,1] + f98[,2] + ... + f98[,43])
and than I want to estimate a general model using package systemfit.
> fitsur <-
2017 Jun 05
1
R] Error message "cs_lu(A) failed: near-singular A (or out of memory)"
Dear Arne,
thank you very much upfront for your time that you invest in answering my question.
I'm using your systemfit R package to analyze if companies risk appetite has a relationship to their performance and how it evolves over time. We collected data for ca. 80 companies, from 6 segments over 15 years that gives us a final data set with 1,312 firm-year observations. We have set up 3
2005 Dec 02
3
masked from package:base?
I am confused by the following description in
http://www.maths.lth.se/help/R/.R/library/systemfit/html/hausman.systemfit.html
what does the "Not run" mean? if we do not load systemfit, how can we run
the following code?
## Not run: library( systemfit )
data( kmenta )
attach( kmenta )
...
I install the package of systemfit, and run the code.
I got the warning:
> library( systemfit
2009 Feb 05
2
UNIX Installation of package "systemfit" fails
Dear list
I am trying to install the systemfit package under unix,
install.packages(systemfit)
the installation failed. I am attaching the error and version
information below,
(if dependencies=TRUE, much more error)
any help appreciated
best,
yong
=====================================================================
> install.packages("systemfit")
Warning in
2004 Mar 16
2
R CMD check warning on predict.systemfit
Hi,
I added a new function "predict.systemfit" to our package "systemfit" to make
it closer to other packages (e.g. lm). Now "R CMD check" complains that the
generic function "predict" has only the argument "object", while our function
"predict.systemfit" has more arguments. However, the function "predict.lm"
has also more
2007 Feb 19
1
Urgent: How to obtain the Consistent Standard Errors after apply 2SLS through tsls() from sem or systemfit("2SLS") without this error message !!!!!!!!!!!!!
Hi,
I am trying to obtain the heteroskedasticity consitent standard errors
(HCSE) after apply 2SLS. I obtain 2SLS through tsls from package sem or
systemfit:
#### tsls ####
library (sem)
Reg2SLS <-tsls(LnP~Sc+Ag+Ag2+Var+R+D,~I2+Ag+Ag2+Var+R+D)
summary (Reg2SLS)
#### systemfit ####
library (systemfit)
RS <- LnP~Sc+Ag+Ag2+Var+R+D
Inst <- ~I2+Ag+Ag2+Var+R+D
labels
2010 Nov 17
2
Problem with plotting diagnostics - Error in object$coefficients : $ operator is invalid for atomic vectors
hi all,
after fitting a multiple linear regression
model <- lm(y ~ a + b+ c+d)
i wanted to plot diagnostics
plot(model)
but get the error message
Error in object$coefficients : $ operator is invalid for atomic vectors.
which does not make a lot of sense, since there is no "$" - i am working with an attached dataset.
can anyone help, please??
thanks a lot,
kat
2005 May 25
3
Problem with systemfit 0.7-3 and transformed variables
The 'systemfit' function in systemfit 0.7-3 CRAN package seems to have a
problem with formulas that contain transformed (eg. log) variables. If I
have my data in a data frame, apparently systemfit doesn't "pass" the
information of where the variables should be taken to the transforming function.
I'm not entirely sure if this is a bug or just a limitation, I was just
2007 Apr 13
0
Problem with predict in systemfit
A friend of mine sent me below so I am posting below. If it is not
enough information, please just
let me know and I will tell him. Thanks.
-----Original Message-----
Sent: Friday, April 13, 2007 3:58 PM
To: Leeds, Mark (IED)
Subject: R question
I am using the "predict" function after I have done a simultaneous
estimation of a system using "systemfit". fitsur is the output
2009 Aug 18
3
R formula
Hi
I was trying to estimate simultaneous equation system in R using systemfit.
I used the following commands
>library(systemfit)
> data(Kmenta)
> attach(Kmenta)
>eqDemand<-consump~price+income
> eqSupply<-consump~price+farmprice+trend
> fitsur<-systemfit("SUR",list(demand=eqDemand, supply=eqSupply))
and got the following error messege
Error in
2003 Jul 22
2
packages on R on a Mac
Hello, i am new to R and have it on my Mac with OSX 10.2. I downloaded
the systemfit package and tried to run it and it didn't work. I think i
need to install the package, or update R to let it know that I have
that in the library. (i simply placed the systemfit folder in the R
library.) When i run update.packages(systemfit) or
install.packages(systemfit) i get the following error:
2009 Aug 12
1
CCF for hourly time series?
Hello,
I have a dataframe containing various time series (not time series objects though!)with hourly time steps. I?d like to perform ccf for I need to know the correlation factors for different lags.
Here is an example:
x<-as.POSIXct(c("2008-12-25 16:00:00", "2008-12-25 17:00:00", "2008-12-25 18:00:00", "2008-12-25 19:00:00", "2008-12-25
2007 May 23
0
Changing sequential regression code to call systemfit
I use code ( actually its code from vars package and its directly below
) to do a sequence of lm calls and the data I use from the matrix
depends on restrictions.
for(i in 1:K){
datares <- datasub[, which(x$restrictions[i, ] == 1),drop=FALSE]
y <- yendog[, i]
lmres <- lm(y ~ -1 + ., data=datares)
# x$varresult[[i]] <- lmres
# x$resid[, i] <-
2007 Feb 20
0
Problems with obtaining t-tests of regression coefficients applying consistent standard errors after run 2SLS estimation. Clearer !!!!!
First I have to say I am sorry because I have not been so clear in my
previous e-mails. I will try to explain clearer what it is my problem.
I have the following model:
lnP=Sc+Ag+Ag2+Var+R+D
In this model the variable Sc is endogenous and the rest are all objective
exogenous variables. I verified that Sc is endogenous through a standard
Hausman test. To determine this I defined before a new
2011 Jan 16
1
Hausman Test
Hi,
can anybody tell me how the Hausman test for endogenty works?
I have a simulated model with three correlated predictors (X1-X3). I also
have an instrument W for X1
Now I want to test for endogeneity of X1 (i.e., when I omit X2 and X3 from
the equation).
My current approach:
library(systemfit)
fit2sls <- systemfit(Y~X1,data=data,method="2SLS",inst=~W)
fitOLS <-