search for: dereje

Displaying 6 results from an estimated 6 matches for "dereje".

2012 Oct 08
3
Removing header from a matrix
I have three column vectors (X1, X2, X3).          X1  X2  X3        20   25  40        100 90  80 I want to put them as one matrix of dimention 2 by 3,  but remove headers(X1,X2,X3) from the matrix. I wrote as follows U<-cbind (X1,X2,X3) the headers are there. I need help please. Thanks Dereje [[alternative HTML version deleted]]
2012 Oct 04
1
running a regression
...ollowing response.  your help is appreciated.  Error in constants (lhs, cnames_symb) :   The hypothesis "Cost_PKL-QK.X_(Intercept)=0" is not well formed: contains bad coefficient/variable names.  In addition: Warning message: In constants(lhs, cnames_symb) : NAs introduced by coercion Dereje [[alternative HTML version deleted]]
2012 Oct 17
1
extracting and restricting coefficients
...X1+X2 eqsystem<-list(Y1HAT=EQ1,Y2HAT=EQ2) fitols<-systemfit(eqsystem, method="OLS", data=BB) How do I get coefficients for the first equation? R code How do I restrict coefficient of X2 in the first equation (say , restrict it to less than  zero). R code Your help is appreciated. Dereje [[alternative HTML version deleted]]
2012 Oct 02
3
Integration in R
Dear R-users, I am facing problem with integrating in R a likelihood function which is a function of four parameters. It's giving me the result at the end but taking more than half an hour to run. I'm wondering is there any other efficient way deal with. The following is my code. I am ready to provide any other description of my function if you need to move forward.
2013 Nov 11
1
r package to solve for Nash equilibrium
Is there an r package out there that solves for pure strategy* Nash equilibrium of a two-person game*? A search for Nash equilibrium in r provides a link to the *GNE* package which solves for the Generalized Nash equilibrium. But what I would like to solve is a pure strategy Nash equilibrium. [[alternative HTML version deleted]]
2013 Nov 11
1
Generating bootstrap samples from a panel data frame
With a data frame (call it *d*) composed of 2000 individuals and *n*observations for each individual (thus *2000n* observations in total), I would like to generate *k* bootstrap samples with replacement from *d*. Amongst other variables, *d* has a numeric variable *id* taking on identical value for observations belonging to the same individual. Taking into consideration the panel nature of the