prodest icon indicating copy to clipboard operation
prodest copied to clipboard

Is there a way to export the results? R.

Open ghost opened this issue 3 years ago • 0 comments

Hello.

I am wondering if is there a way I could export the coefficients and standard errors to a dataframe.

I am trying with the following code in R:

levpet <- prodestLP(base$c_y,
                    fX=base$c_l,
                    sX=base$c_k,
                    pX=base$c_m,
                    idvar=base$idvar,
                    timevar = base$year,
                    R=5)

results_levpet <- data.frame(summary(levpet)$coef)

But I just get the chart with the coefficients in the console.

By the way. Is there a way to get the p-values for each coefficient? That would be awesome.

Thanks in advance.

ghost avatar Aug 07 '21 22:08 ghost