Hello stata users,
Thank you for taking the time to address my concern. (and sorry for my english..).I've been looking for two hours and I don't know how to do.
I want to check out , in my descriptives statistics if there's a difference between two samples (let say users and non users )
Because my DV and IV are categorical I cannot use p-value significance. I first used used this command : 2*ttail(e(df_r),abs(_b[VARIABLE1]/_se[Variable1] in a loop and obtain a matrix of descriptives statistics with significant differences , before I realized it wasn't appropriate.
my question is how do I computed chi2 statistic instead of pvalue (2*ttail(e(df_r),abs(_b[VARIABLE1]/_se[Variable1]) in stata ? how to do it by hand like the pvalue calculation?
Is there a relationship with pvalue and chi2 so I can use the pvalue I have, to calculate chi2?
Thank you very much for your help!
Related Posts with computed and store chi2
Problem with svyset using panel dataHi, …
How to graph one figure with several variables using the left yaxis and several other variables using the right yaxis (xaxis is year)?I wrote the following code and got an error "invalid varlist": scatter capstateratio6 year, by(prov…
Writing a Program for repetitive calculationDear Statalist colleagues, I am keep calculating same formula for more than 10 variables and wanted…
Help needed to extract start datesHi, I am using Stata 17 and would need help in extracting start dates. My intention is to extract s…
How to use parentheses in this way?I see some syntax shown as below, how to use parentheses in this way? Where to find help documents f…
Subscribe to:
Post Comments (Atom)
0 Response to computed and store chi2
Post a Comment