Hi Chris,
On Fri, Sep 5, 2014 at 7:17 PM, Chris bonsxa...@yahoo.com wrote:
Hi.
Say I have a model like
y = a + B1*x1 + B2*x2 + B3*x3 + B4*x4 + e
and I want to test
H0: B2/B1 = 0
As noted by Bert, think about this.
or
H0: B2/B1=B4/B3
(whatever H1). How can I proceed?
I now about
On 2014-09-05 09:40, r...@openmailbox.org wrote:
Subscribers,
Could someone please indicate correct terminology and relevant manual
sections to achieve the following conceptual workflow, to create a
script to select sequentially parts of a dataframe:
Welcome to this R script program
Select
testdataextract1-switch(menu(c(unique(levels(testdata[,1]))),graphics=FALSE,title='Select
something'))
The switch function does not work the way you are expecting it to.
Read help(switch) and read the introduction to R that comes with R.
You probably want to use the output of menu() to
The goal:
to create a function modeled after `subset` (notorious for its non-standard
evaluation) that will take a series of logical tests as unqiuoted expressions
to be evaluated in the framework of a dataframe environment and return a
dataframe of logicals:
mtest.data.frame -
On Sat, 6 Sep 2014 15:31:49 -0700
David Winsemius dwinsem...@comcast.net wrote:
The only other difference I see is a missing semicolon in the second
example, which, in the first precedes your print() instruction.
JWDougherty
__
R-help@r-project.org
In your first example I get an error:
mtest.data.frame(testdata, valid2==N, valid3 1)
Error in mtest.data.frame(testdata, valid2 == N, valid3 1) :
object 'valid2' not found
I expect the error because list(...) ought to evaluate the ... arguments.
Use substitute() to get the unevaluated
Hi.
First of all, thanks to all who have replied.
1) 8th grade algebra tells me B2/B1 == 0 == B2 =0;
EViews (econometrics program) doesn't have the same opinion:
Wald test on my real model (edited):
* H0: B3/B2 = 0 - F-stat = 37.82497
* H0: B3 = 0- F-stat = 16.31689
2) I suspect you
Scott said:
car::deltaMethod
I said:
I just gave a quick look and searched about delta method, but I can't
see how it would help in testing the restrictions above.
Actually it seems that it should be the way to go: I just noticed under the
EViews Wald test window the message Delta method
On Sep 6, 2014, at 4:24 PM, William Dunlap wrote:
In your first example I get an error:
mtest.data.frame(testdata, valid2==N, valid3 1)
Error in mtest.data.frame(testdata, valid2 == N, valid3 1) :
object 'valid2' not found
I expect the error because list(...) ought to evaluate the ...
9 matches
Mail list logo