<p>You don't need panel data for pooled  OLS. You can use pooled cross section data which is similar to panel data but it is different data type. In panel data you follow the same units (e.g. individuals, firms, countries, stocks, etc.) consistently over time, whereas in pooled cross-section data you will have 'a time series of cross-sections' where the same units are not <em>necessarily</em> followed.</p>
<p>If you don't have some sort of data collected on multiple units over time you can't run pooled OLS. However, in description you mention the data contain year<strong>s</strong> and location<strong>s</strong> so this should not be issue as you should have multiple time periods and units and thus at very least the data structure should be pooled cross-section.</p>
<p>In R you can can use the <code>lm</code> function or <code>plm</code> package to run pooled OLS.</p>
<p>PS: You mention that most of the data are binary - if your dependent variable is binary as well, you should probably consider pooled logit/probit model instead of OLS.</p>

CC BY-SA 4.0
2021-02-03T10:50:38.673Z
2021-02-04T00:21:32.583Z
2021-02-04T00:21:32.583Z
1muflon1
<p>The data set is mostly binary with years and location. We have a linear probability model. We DO NOT have panel data. How to estimate this model in R by Pooled OLS? Again, we DO NOT have panel data.</p>

<econometrics><r>
How to estimate a model by pooled OLS when we DO NOT have panel data?
Jack
# How to estimate a model by pooled OLS when we DO NOT have panel data?

(Asked by: username_0 on 2021-02-03)

The data set is mostly binary with years and location. We have a linear probability model. We DO NOT have panel data. How to estimate this model in R by Pooled OLS? Again, we DO NOT have panel data.

**Tags:** econometrics, r

---

## 1 answers

### Answer by username_1 on 2021-02-03. Score: 3

You don't need panel data for pooled OLS. You can use pooled cross section data which is similar to panel data but it is different data type. In panel data you follow the same units (e.g. individuals, firms, countries, stocks, etc.) consistently over time, whereas in pooled cross-section data you will have 'a time series of cross-sections' where the same units are not *necessarily* followed.

If you don't have some sort of data collected on multiple units over time you can't run pooled OLS. However, in description you mention the data contain year**s** and location**s** so this should not be issue as you should have multiple time periods and units and thus at very least the data structure should be pooled cross-section.

In R you can can use the `lm` function or `plm` package to run pooled OLS.

PS: You mention that most of the data are binary - if your dependent variable is binary as well, you should probably consider pooled logit/probit model instead of OLS.


---

