Learn R Programming

systemfit (version 0.5-6)

print.systemfit.ols: print.systemfit.ols

Description

This function prints a summary of the system of equations.

Usage

print.systemfit.ols(x,digits=6,...)

Arguments

x
an object of type ols.systemfit.
digits
number of digits to print.
...
not used by user.

Value

  • print.systemfit.ols returns nothing.

See Also

ols,twostage,surand threestage

Examples

Run this code
library( systemfit )

data( kmenta )
attach( kmenta )
demand <- q ~ p + d
supply <- q ~ p + f + a
inst <- ~ d + f + a
labels <- list( "demand", "supply" )
system <- list( demand, supply )

## perform OLS on each of the equations in the system
fit1sls <- ols.systemfit( system, inst, labels, kmenta )

## print the results
print( fit1sls )

Run the code above in your browser using DataLab