public class FrenchHDRelationship2014InternalPredictor extends HDRelationshipPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree> implements FertilityClassEmulator, FrenchHeightPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>
HDRelationshipPredictor.GaussianErrorTermForHeight, HDRelationshipPredictor.RegressionElementsREpiceaPredictor.CruiseLine, REpiceaPredictor.ErrorTermGroup, REpiceaPredictor.IntervalNestedInPlotDefinitionFertilityClassEmulator.FertilityClassFrenchHeightPredictor.FrenchHeightPredictorVersionobservedHeightsDefaultZeroIndex, isRandomEffectsVariabilityEnabled, isResidualVariabilityEnabled, listeners, oXVectorisParametersVariabilityEnabled| Modifier | Constructor and Description |
|---|---|
protected |
FrenchHDRelationship2014InternalPredictor(boolean isParameterVariabilityEnabled,
boolean isRandomEffectVariabilityEnabled,
boolean isResidualVariabilityEnabled,
FrenchHDRelationshipTree.FrenchHdSpecies species) |
| Modifier and Type | Method and Description |
|---|---|
void |
emulateFertilityClass(FertilityClassEmulator.FertilityClass fertilityClass)
This method sets the fertility class.
|
protected HDRelationshipPredictor.RegressionElements |
fixedEffectsPrediction(FrenchHDRelationship2014Stand stand,
FrenchHDRelationship2014Tree tree,
Matrix beta)
This method computes the fixed effect prediction and put the prediction, the Z vector,
and the species name into m_oRegressionOutput member.
|
Estimate<? extends StandardGaussianDistribution> |
getBlupsForThisSubject(FrenchHDRelationship2014Stand stand)
Returns the estimated blups for the plot.
|
protected java.util.Map<FertilityClassEmulator.FertilityClass,TruncatedGaussianEstimate> |
getFertilityClassMap() |
FrenchHDRelationshipTree.FrenchHdSpecies |
getSpecies()
Returns the species for the internal species-specific height predictor.
|
protected java.util.Collection<FrenchHDRelationship2014Tree> |
getTreesFromStand(FrenchHDRelationship2014Stand stand)
This method selects the trees from which the blups must be calculated.
|
protected void |
init()
This method reads all the parameters in .csv files and stores the estimates into members defaultBeta, defaultResidualError,
and defaultRandomEffects.
|
protected void |
predictHeightRandomEffects(FrenchHDRelationship2014Stand stand)
This method computes the best linear unbiased predictors of the random effects
|
protected void |
setDefaultRandomEffects(HierarchicalLevel level,
Estimate<? extends StandardGaussianDistribution> estimate) |
protected void |
setEffectList(Matrix mat) |
protected void |
setParameterEstimates(ModelParameterEstimates defaultBeta) |
protected void |
setResidualVariance(Matrix sigma2) |
blupImplementation, getErrorGroup, predictHeightM, residualImplementation, setSpecificResiduals, wasThisTreeInitiallyMeasuredaddModelBasedSimulatorListener, doBlupsExistForThisSubject, doesThisSubjectHaveResidualErrorTerm, doRandomDeviatesExistForThisSubject, fireModelBasedSimulatorEvent, fireRandomEffectDeviateGeneratedEvent, getBlupsForThisSubject, getCruiseLineForThisSubject, getDefaultRandomEffects, getDefaultRandomEffects, getDefaultResidualError, getGaussianErrorTerms, getIntervalNestedInPlotDefinition, getParametersForThisRealization, getRandomEffectsForThisSubject, getResidualError, getResidualErrorForThisSubject, getSubjectPlusMonteCarloSpecificId, getSubjectPlusMonteCarloSpecificId, hasSubjectBeenTestedForBlups, recordSubjectTestedForBlups, removeModelBasedSimulatorListener, setBlupsForThisSubject, setDefaultResidualError, setDeviatesForRandomEffectsOfThisSubject, simulateDeviatesForRandomEffectsOfThisSubjectgetParameterEstimatesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpredictHeightMprotected FrenchHDRelationship2014InternalPredictor(boolean isParameterVariabilityEnabled,
boolean isRandomEffectVariabilityEnabled,
boolean isResidualVariabilityEnabled,
FrenchHDRelationshipTree.FrenchHdSpecies species)
protected java.util.Map<FertilityClassEmulator.FertilityClass,TruncatedGaussianEstimate> getFertilityClassMap()
protected void setDefaultRandomEffects(HierarchicalLevel level, Estimate<? extends StandardGaussianDistribution> estimate)
setDefaultRandomEffects in class REpiceaPredictorprotected void setParameterEstimates(ModelParameterEstimates defaultBeta)
setParameterEstimates in class REpiceaPredictorpublic void emulateFertilityClass(FertilityClassEmulator.FertilityClass fertilityClass)
emulateFertilityClass in interface FertilityClassEmulatorfertilityClass - a FertilityClass enumprotected void predictHeightRandomEffects(FrenchHDRelationship2014Stand stand)
HDRelationshipPredictorpredictHeightRandomEffects in class HDRelationshipPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>stand - a HeightableStand instanceprotected void setResidualVariance(Matrix sigma2)
protected void setEffectList(Matrix mat)
protected HDRelationshipPredictor.RegressionElements fixedEffectsPrediction(FrenchHDRelationship2014Stand stand, FrenchHDRelationship2014Tree tree, Matrix beta)
fixedEffectsPrediction in class HDRelationshipPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>stand - a HeightableStand instancetree - a HeightableTree instancebeta - a Matrix that contains the parameterspublic Estimate<? extends StandardGaussianDistribution> getBlupsForThisSubject(FrenchHDRelationship2014Stand stand)
FrenchHeightPredictorgetBlupsForThisSubject in interface FrenchHeightPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>stand - a HDRelationshipStand instance that stands for the plot.protected java.util.Collection<FrenchHDRelationship2014Tree> getTreesFromStand(FrenchHDRelationship2014Stand stand)
HDRelationshipPredictorgetTreesFromStand in class HDRelationshipPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>stand - a Stand instanceprotected void init()
REpiceaPredictorinit in class REpiceaPredictorpublic FrenchHDRelationshipTree.FrenchHdSpecies getSpecies()
FrenchHeightPredictorgetSpecies in interface FrenchHeightPredictor<FrenchHDRelationship2014Stand,FrenchHDRelationship2014Tree>