
Generate Summary Tables for fracregmlogit Objects
summary.fracregmlogit.RdGenerate tables of coefficient estimates, partial effects, and willingness to pay from fracregmlogit-type objects.
Details
This module provides summary methods for three fracregmlogit objects: fracregmlogit, fracregmlogit.pe
, and fracregmlogit.wtp.
For fracregmlogit objects, the summary prints the number of observations, log pseudo-likelihood,
baseline choice, and the coefficient estimates with standard errors, z-statistics, and p-values
for each choice equation.
For fracregmlogit.pe objects, it displays the marginal or discrete effects
along with their computed standard errors (if Krinsky-Robb sampling was performed) for each choice.
For fracregmlogit.wtp objects, it provides a table of the aggregated willingness to pay
along with its standard errors and test statistics.
Examples
data("fracreg_spending")
X = fracreg_spending[,2:5]
y = fracreg_spending[,6:11]
# generate fracregmlogit summary
results1 = fracregmlogit(y, X)
summary(results1)
#>
#> --------------------------------------------------------------------------------
#> Fractional multinomial logit model
#> --------------------------------------------------------------------------------
#> Data type: Cross-sectional
#> Convergence: Successful
#> Number of observations: 392
#> Log pseudolikelihood: -673.1203
#> Pseudo R-squared: 0.00582
#> Baseline choice: governing
#> Standard errors: HC0
#>
#> --------------------------------------------------------------------------------
#> Choice: safety
#> --------------------------------------------------------------------------------
#> Wald chi2(4): 36.7024
#> Prob > chi2: 0.0000
#> --------------------------------------------------------------------------------
#> Coefficient Robust Std.Err. z value Pr(>|z|)
#> (Intercept) 0.74898 0.06527 11.475 < 2e-16 ***
#> houseval -0.14001 0.03712 -3.772 0.000162 ***
#> popdens 0.01158 0.01875 0.618 0.536748
#> noleft 0.08254 0.04572 1.805 0.071048 .
#> minorityleft 0.18936 0.04450 4.255 2.09e-05 ***
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> --------------------------------------------------------------------------------
#> Choice: education
#> --------------------------------------------------------------------------------
#> Wald chi2(4): 111.0229
#> Prob > chi2: 0.0000
#> --------------------------------------------------------------------------------
#> Coefficient Robust Std.Err. z value Pr(>|z|)
#> (Intercept) 1.21527 0.16536 7.349 1.99e-13 ***
#> houseval -0.63715 0.10737 -5.934 2.96e-09 ***
#> popdens 0.09276 0.03044 3.048 0.00231 **
#> noleft -0.36480 0.09164 -3.981 6.87e-05 ***
#> minorityleft 0.03874 0.09353 0.414 0.67875
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> --------------------------------------------------------------------------------
#> Choice: recreation
#> --------------------------------------------------------------------------------
#> Wald chi2(4): 137.7055
#> Prob > chi2: 0.0000
#> --------------------------------------------------------------------------------
#> Coefficient Robust Std.Err. z value Pr(>|z|)
#> (Intercept) 0.42086 0.06640 6.339 2.32e-10 ***
#> houseval -0.23088 0.03969 -5.817 5.98e-09 ***
#> popdens 0.07204 0.01577 4.569 4.89e-06 ***
#> noleft 0.01385 0.04307 0.322 0.748
#> minorityleft 0.22266 0.04195 5.307 1.11e-07 ***
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> --------------------------------------------------------------------------------
#> Choice: social
#> --------------------------------------------------------------------------------
#> Wald chi2(4): 313.0898
#> Prob > chi2: 0.0000
#> --------------------------------------------------------------------------------
#> Coefficient Robust Std.Err. z value Pr(>|z|)
#> (Intercept) 1.70671 0.11044 15.453 <2e-16 ***
#> houseval -0.62082 0.06543 -9.488 <2e-16 ***
#> popdens 0.19818 0.01998 9.917 <2e-16 ***
#> noleft -0.14671 0.05997 -2.446 0.0144 *
#> minorityleft 0.13606 0.05900 2.306 0.0211 *
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> --------------------------------------------------------------------------------
#> Choice: urbanplanning
#> --------------------------------------------------------------------------------
#> Wald chi2(4): 56.1103
#> Prob > chi2: 0.0000
#> --------------------------------------------------------------------------------
#> Coefficient Robust Std.Err. z value Pr(>|z|)
#> (Intercept) 0.98183 0.12528 7.837 4.66e-15 ***
#> houseval -0.17859 0.07388 -2.417 0.01564 *
#> popdens 0.16048 0.03381 4.746 2.07e-06 ***
#> noleft 0.03022 0.08359 0.361 0.71773
#> minorityleft 0.23444 0.07791 3.009 0.00262 **
#> ---
#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
#>
#> --------------------------------------------------------------------------------
#> Run Date: 2026-08-08 15:50:33
#> --------------------------------------------------------------------------------
# generate marginal effects summary
effects1 = fracregmlogit.pe(results1, effect="marginal", se=FALSE)
summary(effects1)
#>
#>
#> --------------------------------------------------------------------------------
#> Conditional partial effects
#> --------------------------------------------------------------------------------
#> Fractional multinomial logit regression
#> --------------------------------------------------------------------------------
#>
#> Note: marginal effect at the mean, standard error not computed
#> Effects:
#> governing safety education recreation social
#> houseval 0.016582441 0.037399658 -0.033349193 0.014380452 -0.08253115
#> popdens -0.005346520 -0.016829235 -0.005301123 -0.004836799 0.02585608
#> noleft 0.003632683 0.024286998 -0.039396801 0.008530112 -0.02213837
#> minorityleft -0.006262282 0.005279057 -0.016170900 0.005881345 -0.00612738
#> urbanplanning
#> houseval 0.047517787
#> popdens 0.006457602
#> noleft 0.025085383
#> minorityleft 0.017400159
#> --------------------------------------------------------------------------------
#> Run Date: 2026-08-08 15:50:33
#> --------------------------------------------------------------------------------