costFunction: Generate the right format of cost function for calculating...

Description Usage Arguments Details Value Author(s) References Examples

Description

Generate the right format of cost function for calculating economies of scale and scope.

Usage

1
costFunction(costName, outputName, priceName, controlName, form = c("FFCQ-M"))

Arguments

costName

A character string containing the name of the dependent (cost) variable.

outputName

A vector of strings containing the names of the independent (output) variables.

priceName

A vector of strings containing the names of the independent (price) variables.

controlName

A vector of strings containing the names of the control variables.

form

A cost function character.

Details

This function returns flexible fixed cost quadratic (FFCQ) function formula based on the classification of Mayo (1984). You can find the applications in Zhang et al. (in press).

Value

An object of class "formula" consisting of costName, outputName and priceName based on varied functional forms.

Author(s)

Liang-Cheng Zhang

References

Mayo, J. W. (1984). Multiproduct monopoly, regulation, and firm costs. Southern Economic Journal, 51(1), 208-218. doi:10.2307/1058333

Zhang, L.-C., Worthington, A. C., & Hu, M. (in press). Cost economies in the provision of higher education for international students: Australian evidence. Higher Education. doi: 10.1007/s10734-016-0078-9

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##Specifiy arguments with user-identified names
costFunction(costName="c",outputName = c("y1","y2"))
costFunction(costName="c",outputName = c("y1","y2","y3"),
priceName = c("w1","w2","w3"),controlName = c("z1","z2","z3"),
form="FFCQ-M")

##Specifiy arguments with data' column names
costFunction(costName=colnames(unidat)[3],outputName =
colnames(unidat)[7:11],priceName = colnames(unidat)[4:6],
controlName = colnames(unidat)[12:24], form="FFCQ-M")

LiangCZhang/Rcess documentation built on May 8, 2019, 8:52 p.m.