Skip to content

Commit fc05771

Browse files
committed
update package skelaton
1 parent baccfb3 commit fc05771

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ Type: Package
33
Title: An Algorithm for Reducing Errors-in-Variable Bias in Simple
44
Linear Regression
55
Version: 3.1
6-
Date: 2021-05-28
6+
Date: 2022-07-22
77
Author: Mehmet Hakan Satman (Ph.D.), Erkin Diyarbakirlioglu (Ph.D.)
88
Maintainer: Mehmet Hakan Satman <mhsatman@istanbul.edu.tr>
99
Description: Performs a compact genetic algorithm search to reduce errors-in-variables bias in linear regression. The algorithm estimates the regression parameters with lower biases and higher variances but mean-square errors (MSEs) are reduced.
1010
License: GPL
11-
Imports: Rcpp (>= 0.11.1)
11+
Imports: Rcpp (>= 0.11.1), compiler(>= 2.0.0)
1212
LinkingTo: Rcpp
13-
Packaged: 2018-05-16 19:05:15 UTC; jbytecode
13+
Packaged: 2022-07-22 19:34:15 UTC; jbytecode
1414
NeedsCompilation: yes
1515
Repository: CRAN
1616
Date/Publication: 2018-05-16 21:38:11 UTC

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ useDynLib(eive)
22
exportPattern("^[[:alpha:]]+")
33
importFrom(Rcpp, evalCpp)
44
importFrom("stats", "lm", "lm.fit", "rnorm")
5+
importFrom(compiler, cmpfun)
56
export(eive.cga, eivem)
67

78

R/eivem.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
library(compiler)
2+
13
eivem <- function(dirtyx, otherx = NULL, y, numdummies = 10, popsize = 20) {
24
ols_dirty <- list()
35
ols_proxy <- NULL

man/eivem.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Vector of values of independent variable measured with error
1515
Matrix of other independent variables.
1616
}
1717
\item{y}{
18-
Vector of values of dependent variable
18+
Matrix of values of dependent variables. In column represent a single Y, each row represents an observation. So y is an nxp matrix of p dependent variables.
1919
}
2020
\item{numdummies}{
2121
Number of dummy variables used in algorithm. By default, it is 10.

src/symbols.rds

-7 KB
Binary file not shown.

0 commit comments

Comments
 (0)