hleapsApproxTime: Approximate hleaps runtime

Description Usage Arguments Details Value Author(s) Examples

Description

This method estimates the time needed to execute the hleaps algorithm for a given model size.

Usage

1
hleapsApproxTime(n=1000, p=10, int=TRUE, sigI=TRUE, sigC=TRUE)

Arguments

n

an integer - the number of data observations in the data set

p

an integer - the number of variables to be used in subset selection. This count is only for the main effects.

int

a boolean - are interactions included in model? It TRUE, the estimate is for a model with all second order interaction terms. This provides an upper bound on the algorithm time.

sigI

a boolean - are interactions expected to be significant? If TRUE, the estimate is for a model with all the second order interaction terms being significant. This provides an upper bound on the algorithm time. False assumes none of the interaction terms are significant.

sigC

a boolean - are covariates expected to be significant? If TRUE, the estimate is for a model with all the main effects being significant. This provides an upper bound on the algorithm time. False assumes none of the main effects are significant.

Details

The function prints out the estimated run time for the hleaps algorithm. This function times how long it takes to run hleaps on a calibrated data set on the currently running computer. This calibrated time is then scaled to the model using a formula provided below.

logTime = (7.135*(10^-7) * n + .01872 * p^2 + .0824 * p + -1.492* int + -2.252 * sigI + 1.563 * sigC - .28781) * (timeOnUserMachine)/(timeOnEstimationRuns)

This estimate is attained from running from data collected through timing estimation runs. The formula was generated from a regression on the results of multiple timing runs of hleaps with varying values for n, p, int, sigI and sig C. The linear regression was done on the log(times) collected for each run. A log normal correction was applied to the model.

This function will take at least 10 seconds to run in order to ensure a stable result.

Value

An object of class list.

Author(s)

Arun Srinivasan <aasrinivasan@wisc.edu>

Examples

1

aasrinivasan/hleaps documentation built on May 10, 2019, 4:05 a.m.