Re: [R] pairwise deletion in regression models

2016-07-13 Thread Adel Daoud
deletion in the cor() function, but I need it for regression analysis. The default is listwise (casewise) deletion. Would be grateful for further input on this. Best, Adel -- Adel Daoud, PhD, Researcher *Newly published:* * Daoud, Adel and Kohl, Sebastian, *How Much Do Sociologists Write

Re: [R] pairwise deletion in regression models

2016-07-13 Thread Adel Daoud
. Best, Adel -- Adel Daoud, PhD, Researcher *Newly published:* * Daoud, Adel and Kohl, Sebastian, *How Much Do Sociologists Write About Economic Topics? Using Big-Data to Test Some Conventional Views in Economic Sociology, 1890 to 2014*. Max Planck Institute for the Study of Societies, Discussion

[R] pairwise deletion in regression models

2016-07-12 Thread adel daoud
Dear R users, I would like to use a pairwise deletion of missing values in linear regression (lm or glm preferably). I want to replicate some studies done in STATA that uses this type of deletion. What options do we have in R to work with pairwise deletion? Most packages I have found do not have

Re: [R] Alpha not working in geom_rect

2015-03-10 Thread adel daoud
Thanks for the info Jeff. I will stick to using annotate() -- Adel Daoud, PhD, Researcher The New School for Social Research, Visiting Scholar in the Economics Department, 6 East 16th Street New York, NY 10003, dao...@newschool.edu University of Gothenburg Department of Sociology

Re: [R] Alpha not working in geom_rect

2015-03-09 Thread adel daoud
ax=1, fill="black", alpha=0.5) Best Adel -- Adel Daoud, PhD, Researcher The New School for Social Research, Visiting Scholar in the Economics Department, 6 East 16th Street New York, NY 10003, dao...@newschool.edu University of Gothenburg Department of Sociology and Work Sc

Re: [R] scatter plot matrix with different x-y variables

2013-05-13 Thread adel daoud
t;> independent variables (x-axis). So I want it to look like a scatter plot >> matrix or grid, but with my own specified variables on each axis. >> >> Secondly, to add to this, can I add a correlation line (linear and >> quadratic) >> through all scatter plots with both corr