Difference between revisions of "Training health impact"

From Testiwiki
Jump to: navigation, search
(created pages for training)
 
(Explanations: the whole section is outdated and removed)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Brief guidance about the contents.''' This box of text can removed.
+
[[Category:Costs and valuations]]
+
[[Category:Opasnet training]]
    <nowiki>{{variable}}</nowiki> template:
+
[[Category:Contains R code]]
        Put your own username in moderator=Username unless someone else takes care of the page content.
+
{{variable|moderator=Jouni|stub=Yes}}
        When the page is quite developed, change stub=No
 
    Question (previously Scope) Specifies a clear research question.
 
        This includes a question and a verbal definition of the spatial, temporal, and other limits
 
        (system boundaries) of the variable. The question is defined according to the use
 
        purpose of the assessment(s) that the variable belongs to.
 
    Answer (previously Result) Answer to the research question.
 
        Contains anything that a reader needs to understand the answer. If possible, a numerical expression or distribution.
 
        If there is more than a single answer, i.e. the answer is actually a list of answers, a [[data table]] should be used.
 
        Contains also the unit(s) in which the answer is expressed.
 
    Rationale (previously Definition) Description about how the answer is derived.
 
        Rationale contains anything that is needed to convince a critical rational reader.
 
        Description of the data used for obtaining the value of the variable
 
        (e.g. measurement data; mathematical method and its parameters).
 
        Please include references (preferably using the ''<nowiki><ref> </ref></nowiki>'' tags)
 
        and links to original data, as appropriate.
 
        May contain subheadings Dependencies and Formula.
 
        Subheadings no longer used: Data as most of Rationale is this anyway; Unit as it is already mentioned in Answer.
 
            Dependencies: Links to all variables whose answers affect the answer of this variable.
 
            Formula (or R code): computer code or mathematical formula for calculating the answer.
 
    See also: Links to relevant information that does not belong to ''Rationale''.
 
    Keywords: Any words that help users to find this page with search tools.
 
    References will appear automatically, if cited above using the ''<nowiki><ref> </ref></nowiki>'' tags.
 
        Additional references can also be listed here.
 
    ''Related files'' automatically shows files from [[Opasnet File]] if they have been linked to this page.
 
    <nowiki>{{publication}}</nowiki> can be used if the page is good enough to be a publication by itself. Otherwise, delete.
 
 
 
{{variable|moderator=|stub=Yes}}
 
  
 
== Question ==
 
== Question ==
  
 +
What is the health impact in the [[Training assessment]]?
  
 
== Answer ==
 
== Answer ==
  
 +
<rcode graphics=1>
 +
 +
library(OpasnetUtils)
 +
library(ggplot2)
 +
 +
objects.latest("Op_en5675", code_name = "initiate") # [[Training health impact]]
 +
 +
health_impact <- EvalOutput(health_impact)
 +
 +
oprint(summary(health_impact))
 +
 +
ggplot(health_impact@output, aes(x = health_impactResult, colour = Year)) +
 +
geom_density() +
 +
facet_grid(Trait ~ Year) +
 +
theme_grey(base_size = 24)
  
== Rationale ==
+
</rcode>
  
 +
==Rationale==
  
 +
===Data===
  
=== Dependencies ===
+
<t2b index="Trait" obs="Result" desc="Description" unit="cases /(µg/m3) /a">
 +
Respiratory disease|20 - 30|
 +
</t2b>
  
=== Formula ===
+
===Dependencies===
 +
 
 +
* [[Training exposure]]
 +
 
 +
===Calculations===
 +
 
 +
<rcode label="Initiate ovariable" name="initiate">
 +
 
 +
library(OpasnetUtils)
 +
 
 +
health_impact <- Ovariable("health_impact",
 +
dependencies = data.frame(Name = "exposure", Ident = "Op_en5674/initiate"), # [[Training exposure]] exposure
 +
formula = function(...) {
 +
ERF <- Ovariable("ERF", ddata = "Op_en5675") # [[Training health impact]]
 +
colnames(ERF@data) <- gsub("[ \\.]", "_", colnames(ERF@data))
 +
 
 +
out <- exposure * ERF
 +
 
 +
return(out)
 +
}
 +
)
 +
 
 +
objects.store(health_impact)
 +
 
 +
cat("Ovariable health_impact saved.\n")
 +
 
 +
</rcode>
  
 
==See also==
 
==See also==
 +
 +
{{Opasnet training}}
  
 
==Keywords==
 
==Keywords==
Line 54: Line 75:
  
 
==Related files==
 
==Related files==
 
{{mfiles}}
 
 
{{publication
 
| authors        =
 
| title          =
 
| explanation    =
 
| publishingyear =
 
| urn            =
 
| reference      =
 
}}
 

Latest revision as of 15:48, 24 March 2015



Question

What is the health impact in the Training assessment?

Answer

+ Show code

Rationale

Data

Difference between revisions of "Training health impact"(cases /(µg/m3) /a)
ObsTraitResultDescription
1Respiratory disease20 - 30

Dependencies

Calculations

+ Show code

See also

Materials and examples for training in Opasnet and open assessment
Help pages Wiki editingHow to edit wikipagesQuick reference for wiki editingDrawing graphsOpasnet policiesWatching pagesWriting formulaeWord to WikiWiki editing Advanced skills
Training assessment (examples of different objects) Training assessmentTraining exposureTraining health impactTraining costsClimate change policies and health in KuopioClimate change policies in Kuopio
Methods and concepts AssessmentVariableMethodQuestionAnswerRationaleAttributeDecisionResultObject-oriented programming in OpasnetUniversal objectStudyFormulaOpasnetBaseUtilsOpen assessmentPSSP
Terms with changed use ScopeDefinitionResultTool


Keywords

References


Related files