[R] Hypothesis Testing using Wald Criterion for two regression models with dummy variables

Bert Gunter gunter.berton at gene.com
Wed May 2 15:41:22 CEST 2012


Meredith:

You are clearly out of your depth. Get local help. R-help is, err....,
an R help list, not a resource for remote statistical consulting.
Although, I admit, there is often some overlap.

-- Bert

On Wed, May 2, 2012 at 5:58 AM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> On May 1, 2012, at 22:01 , meredith wrote:
>
>> I have two models, controlled by dummy variables to see if the models can be
>> combined into one model with similar intercepts and slopes. Has anyone tried
>> to conduct this type of test in R. I am utilizing the econometric idea of
>> hypothesis testing through the hypothesis of coincidence. I have tried to
>> run an anova with test of Chisq, but I am not sure what the results are
>> telling. In addition, I used the rms package with a lrm model in an anova
>> test, again I am not sure what the results are telling me:
>> ....
>> Can anyone help me with this?
>
> Not unless you say what you are trying to do... As far as I can tell, you are (A) using a chi-square test for a standard linear model (Gaussian response) and (B) fitting a logistic regression model to the same response, which assumes that it is a proportion or binary response. Neither makes any sense to me.
>
> --
> Peter Dalgaard, Professor
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list