search for: consump

Displaying 7 results from an estimated 7 matches for "consump".

Did you mean: consume
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 systemfit("SUR", list(demand = eqDemand, supply = eqSupply)) : argument 'formula' must be an...
2011 Mar 28
1
maximum likelihood accuracy - comparison with Stata
...in R by Macro Steenbergen http://artsci.wustl.edu/~jmonogan/computing/r/MLE_in_R.pdf Any comments are welcome. In particular I would like to know why the estimate of sigma2 is so different. I would also like to know about the accuracy of the coefficient estimates. ## ols ols <- lm(Kmenta$consump ~ Kmenta$price + Kmenta$income) coef(summary(ols)) ## mle y <- matrix(Kmenta$consump) x <- cbind(1, Kmenta$price, Kmenta$income) ols.lf <- function(theta, y, x) { N <- nrow(y) K <- ncol(x) beta <- theta[1:K] sigma2 <- theta[K+1] e <- y - x%*%beta logl <- -0.5...
2007 May 23
0
Changing sequential regression code to call systemfit
...[, i] <- resid(x$varresult[[i]]) } I would like to modify the code to make one call to systemfit because I really should be using SUR rather than a sequence of lms. But, systemfit needs the following type of setup. #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx eqDemand <- consump ~ -1 + price + income eqSupply <- consump ~ -1 + price + farmPrice + trend system<-list( demand = eqDemand, supply = eqSupply) #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Then, the call to systemfit is fitsur<- systemfit( "SUR", system) Does anyone know...
2012 Oct 28
6
Hausman test in R
Hi there, I am really new to statistics in R and statistics itself as well. My situation: I ran a lot of OLS regressions with different independent variables. (using the lm() function). After having done that, I know there is endogeneity due to omitted variables. (or perhaps due to any other reasons). And here comes the Hausman test. I know this test is used to identify endogeneity. But what I
2005 Dec 03
5
Re: SYSLINUX Digest, Vol 33, menu.c32 chaining
Hello, many of our platforms do not have a integrated floppy, some even don''t have a floppy controller. As pxelinux still has a problem with machines without a floppy in combination with some bios versions I need to chainload a different bootstrap loader which works on the floppyless platforms. But I also need to load a BartPE and the other BS loader does not support that. So I tried to
2016 Nov 17
2
LLD: time to enable --threads by default
...wrote: > On Wed, Nov 16, 2016 at 12:44:46PM -0800, Rui Ueyama via llvm-dev wrote: > > I'm thinking to enable --threads by default. We now have real users, and > > they'll be happy about the performance boost. > > > > Any concerns? > > What is the total time consumped, not just the real time? When building > a large project, linking is often done in parallel with other tasks, so > wasting a lot of CPU to save a bit of real time is not necessarily a net > win. > > Joerg > _______________________________________________ > LLVM Developers mai...
2016 Nov 16
9
LLD: time to enable --threads by default
LLD supports multi-threading, and it seems to be working well as you can see in a recent result <http://llvm.org/viewvc/llvm-project?view=revision&revision=287140>. In short, LLD runs 30% faster with --threads option and more than 50% faster if you are using --build-id (your mileage may vary depending on your computer). However, I don't think most users even don't know about that