markusfritsch / pdynmc

Dynamic linear panel estimation based on linear and nonlinear moment conditions
4 stars 3 forks source link

`data.info` and `plm::pdim` #4

Open tappek opened 3 years ago

tappek commented 3 years ago

I noticed there is data.info and wondered whether you are aware of plm's pdim which does the same job?

pdim gives a slightly different printed output and returns a pdim object with more details. Also, it has methods for data.frame, pdata.frame, pseries, as well as panelmodel and pgmm objects (the latter two for object's produced by some of package plm's model estimation functions.

It should be easy to write a method for pdim for a pdynmc object if you are interested (or provide an independent implementation doing the same).

There is also plm::is.pbalanced if you only want binary information about the balancedness and plm::punbalancedness with measures for panel data unbalancedness.

markusfritsch commented 3 years ago

Thank you for making me aware of the pdim function. I will look into it during one of the next updates of pdynmc.