title: Step by step procedure on how to run nested logistic regression in R
body: <p>Please provide me with detailed (as possible) steps on how to do nested logistic regression in R. I'm new to R so it would help me a lot if i can get a detailed answer.</p>
  
  <p>We tested how fisher's decision to exit the fishery is affected by different socioeconomic factors.
  Dependent variable: 0 - stay; 1 - exit
  Predictors: Age (continuous); Education (categorical); number of children (continuous), etc.</p>
  
  <p>Our respondents were from different towns. A reviewer of our paper instructed us to account for the town where the respondent comes from by using nested logistic regression.</p>
  
  <p>Your help is very much appreciated. Many thanks.</p>