[R] Summary Table for Quantile Regression for Complex Survey

2019-07-16 Thread Mavra Ahmed
Hello All, I am running quantile regression for a complex survey design and am running the following code: newdf<-withReplicates(df, quote(coef(rq(api00~api99, tau=0.5, weights=.weights This provides me with the theta and SE but I would really like the p-values and residual degrees of f

Re: [R] Summary Table for Quantile Regression for Complex Survey

2019-07-16 Thread Mavra Ahmed
ace it here? Thanks for your help, Mavra ____ From: Koenker, Roger W Sent: July 16, 2019 11:37:54 AM To: Mavra Ahmed Cc: r-help@r-project.org Subject: Re: [R] Summary Table for Quantile Regression for Complex Survey try summary(newer, se = �nid�) Roger Koenker r.koen

[R] Survey Data - comparing multiple groups

2019-07-25 Thread Mavra Ahmed
Hi Everyone, I am trying to assess whether the mean of carbohydrate intake (dependent variable = continuous) is significantly different between five groups (groups = people categorized into five different groups) (independent variable= categorical). This is survey data with replicates and ther

Re: [R] Survey Data - comparing multiple groups

2019-07-25 Thread Mavra Ahmed
rom the survey package, the svyranktest is shown with svydesign only and not with svrepdesign. I could consider using other tests such as svyglm but am also having issues with it. Thank you, Mav From: Abby Spurdle Sent: July 25, 2019 9:48:05 PM To: Ma

Re: [R] Survey Data - comparing multiple groups

2019-08-16 Thread Mavra Ahmed
this point, I am still exploring R and if I am able to provide additional feedback on this issue, I will post. I really appreciate your help. Thank you. From: Abby Spurdle Sent: July 27, 2019 9:39:49 PM To: Mavra Ahmed Cc: r-help@r-project.org Subject: Re: [R

[R] Changing mu in svyttest for one sample test

2020-03-25 Thread Mavra Ahmed
Hi All, I am doing a one-sample t-test for survey data with replicates (svrepdesign). I was wondering if there is a way to change the mu in svyttest for one sample test? I can't find a way to do this online for svyttest but I was able to do it for ttest. for example; in the following, I can chan