- using R version 2.14.1 (2011-12-22)
- using platform: i386-apple-darwin9.8.0 (32-bit)
- using session charset: ASCII
- checking for file 'frontier/DESCRIPTION' ... OK
- this is package 'frontier' version '0.997-6'
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking whether package 'frontier' can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
- loading checks for arch 'x86_64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking compiled code ... OK
- checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x86_64' ... ERROR
Running examples in 'frontier-Ex.R' failed
The error most likely occurred in:
> ### Name: summary.frontier
> ### Title: summary method for class frontier
> ### Aliases: summary.frontier print.summary.frontier
> ### Keywords: models
>
> ### ** Examples
>
> # example included in FRONTIER 4.1 (cross-section data)
> data( front41Data )
>
> sfaResult <- sfa( log( output ) ~ log( capital ) + log( labour ),
+ data = front41Data )
> summary( sfaResult )
Error Components Frontier (see Battese & Coelli 1992)
Inefficiency decreases the endogenous variable (as in a production function)
The dependent variable is logged
Iterative ML estimation terminated after 7 iterations:
log likelihood values and parameters of two successive iterations
are within the tolerance limit
final maximum likelihood estimates
Estimate Std. Error z value Pr(>|z|)
(Intercept) 0.561619 0.202617 2.7718 0.0055742 **
log(capital) 0.281102 0.047643 5.9001 3.632e-09 ***
log(labour) 0.536480 0.045252 11.8555 < 2.2e-16 ***
sigmaSq 0.217000 0.063909 3.3955 0.0006851 ***
gamma 0.797207 0.136424 5.8436 5.109e-09 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
log likelihood value: -17.02722
cross-sectional data
total number of observations = 60
mean efficiency: 0.7405678
>
> # rice producers in the Phillipines (panel data)
> data( riceProdPhil )
> riceProdPhil <- plm.data( riceProdPhil, c( "FMERCODE", "YEARDUM" ) )
>
> # Error Components Frontier
> rice <- sfa( log( PROD ) ~ log( AREA ) + log( LABOR ) + log( NPK ),
+ data = riceProdPhil )
> summary( rice )
Error Components Frontier (see Battese & Coelli 1992)
Inefficiency decreases the endogenous variable (as in a production function)
The dependent variable is logged
Iterative ML estimation terminated after 11 iterations:
log likelihood values and parameters of two successive iterations
are within the tolerance limit
final maximum likelihood estimates
Estimate Std. Error z value Pr(>|z|)
(Intercept) -0.832169 0.275249 -3.0233 0.0025 **
log(AREA) 0.453897 0.063801 7.1143 1.125e-12 ***
log(LABOR) 0.288924 0.063639 4.5400 5.625e-06 ***
log(NPK) 0.227544 0.040859 5.5690 2.562e-08 ***
sigmaSq 0.155377 0.024202 6.4201 1.362e-10 ***
gamma 0.464312 0.088023 5.2749 1.328e-07 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
log likelihood value: -86.43042
panel data
number of cross-sections = 43
number of time periods = 8
total number of observations = 344
thus there are 0 observations not in the panel
mean efficiency: 0.8187968
>
> # Efficiency Effects Frontier
> rice2 <- sfa( log( PROD ) ~ log( AREA ) + log( LABOR ) + log( NPK ) |
+ EDYRS + BANRAT, data = riceProdPhil )
*** caught segfault ***
address 0x1017d5000, cause 'memory not mapped'
Traceback:
1: .Fortran("front41", modelType = as.integer(modelType), ineffDecrease = as.integer((!ineffDecrease) + 1), nn = as.integer(nn), nt = as.integer(nt), nob = as.integer(nob), nb = as.integer(nb), mu = as.integer(mu), eta = as.integer(eta), printIter = as.integer(printIter), indic = as.integer(indic), tol = as.double(tol), searchTol = as.double(searchTol), bignum = as.double(bignum), searchStep = as.double(searchStep), gridDouble = as.integer(gridDouble), gridSize = as.double(gridSize), maxit = as.integer(maxit), muBound = as.double(muBound), restartMax = as.integer(restartMax), restartFactor = as.double(restartFactor), nRestart = as.integer(0), nStartVal = as.integer(length(startVal)), startVal = as.double(startVal), nRowData = as.integer(nrow(dataTable)), nColData = as.integer(ncol(dataTable)), dataTable = matrix(as.double(dataTable), nrow(dataTable), ncol(dataTable), dimnames = dimnames(dataTable)), nParamTotal = as.integer(nParamTotal), olsParam = as.double(c(olsParam, rep(0, 1 + mu + eta))), gridParam = as.double(rep(0, nParamTotal)), startLogl = as.double(0), mleParam = as.double(rep(0, nParamTotal)), mleCov = matrix(as.double(0), nParamTotal, nParamTotal), mleLogl = as.double(0), nIter = as.integer(0), code = as.integer(0))
2: sfa(log(PROD) ~ log(AREA) + log(LABOR) + log(NPK) | EDYRS + BANRAT, data = riceProdPhil)
aborting ...
- elapsed time (check, wall clock): 1:11