[R] GLM: include observations with missing explanatory variables

2015-12-29 Thread Frank van Berkum
Hi all, My problem is the following. Suppose I have a dataset with observations Y and explanatory variables X1, ..., Xn, and suppose one of these explanatory variables is geographical area (of which there are ten, j=1,...,10). For some observations I know the area, but for others it is

Re: [R] GLM: include observations with missing explanatory variables

2015-12-29 Thread David Winsemius
> On Dec 29, 2015, at 5:33 AM, Frank van Berkum > wrote: > > Hi all, > My problem is the following. > Suppose I have a dataset with observations Y and explanatory variables X1, > ..., Xn, and suppose one of these explanatory variables is geographical area > (of

Re: [R] GLM: include observations with missing explanatory variables

2015-12-29 Thread Rolf Turner
On 30/12/15 02:33, Frank van Berkum wrote: Hi all, My problem is the following. Suppose I have a dataset with observations Y and explanatory variables X1, ..., Xn, and suppose one of these explanatory variables is geographical area (of which there are ten, j=1,...,10). For some observations I