Displaying 4 results from an estimated 4 matches for "bachas".
Did you mean:
bacha
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
Hi all,
When I run a regression, I got the following 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
Hi
I want to fit two equations simultaneously
EQ1<-Y1~X1+X2
EQ2<-Y2~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
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.