Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hot Topic_Cool Choices
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nc71qaxa
Hot Topic_Cool Choices
Commits
d9e72f16
Commit
d9e72f16
authored
1 year ago
by
nc71qaxa
Browse files
Options
Downloads
Patches
Plain Diff
Presentation
parent
25763cc2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Scripts/MAKE_FILE.R
+8
-0
8 additions, 0 deletions
Scripts/MAKE_FILE.R
project_start.qmd
+83
-5
83 additions, 5 deletions
project_start.qmd
with
91 additions
and
5 deletions
Scripts/MAKE_FILE.R
+
8
−
0
View file @
d9e72f16
...
@@ -79,6 +79,14 @@ mxl_wtp_case_a_rentINT <- apollo_loadModel("Estimation_results/mxl/MXL_wtp Case
...
@@ -79,6 +79,14 @@ mxl_wtp_case_a_rentINT <- apollo_loadModel("Estimation_results/mxl/MXL_wtp Case
mxl_wtp_case_b_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp Case B Rent Int"
)
mxl_wtp_case_b_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp Case B Rent Int"
)
mxl_wtp_case_c_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp_Case_C Rent INT"
)
mxl_wtp_case_c_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp_Case_C Rent INT"
)
# rent interactions models NR
mxl_wtp_NR_case_a_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp NR A Rent INT"
)
mxl_wtp_NR_case_c_rentINT
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp_NR_Case_C RENT INT"
)
# Alternative case
case_d
<-
apollo_loadModel
(
"Estimation_results/mxl/MXL_wtp Case D Rent Int"
)
##############################
##############################
...
...
This diff is collapsed.
Click to expand it.
project_start.qmd
+
83
−
5
View file @
d9e72f16
...
@@ -5,7 +5,7 @@ title-slide-attributes:
...
@@ -5,7 +5,7 @@ title-slide-attributes:
data-background-image: Grafics/iDiv_logo_item.png
data-background-image: Grafics/iDiv_logo_item.png
data-background-size: contain
data-background-size: contain
data-background-opacity: "0.2"
data-background-opacity: "0.2"
author: "Nino
& Fabian
"
author: "Nino
Cavallaro, Fabian Marder, Julian Sagebiel
"
institute: German Centre for Integrative Biodiversity Research (iDiv) Halle-Jena-Leipzig
institute: German Centre for Integrative Biodiversity Research (iDiv) Halle-Jena-Leipzig
date: today
date: today
date-format: long
date-format: long
...
@@ -132,12 +132,29 @@ summary(nr_model_treat_A)
...
@@ -132,12 +132,29 @@ summary(nr_model_treat_A)
## Logit Regression: Who choses treatment?
## Logit Regression: Who choses treatment?
::: {style="font-size: 50%;"}
Characteristics of the voluntarily treated persons
Characteristics of the voluntarily treated persons
```{r}
summary(logit_choice_treat_uni)
```{r, results='asis'}
list_ols <- list("(Intercept)" = "Intercept", "as.factor(Treatment_A)Treated" = "Treated", "as.factor(Treatment_A)Vol_Treated" = "Vol. Treated",
"as.factor(Treatment_C)No Info 2" = "No Info 2", "as.factor(Treatment_C)No Video 1" = "Text 1",
"as.factor(Treatment_C)No Video 2" = "Text 2", "as.factor(Treatment_C)Video 1" = "Video 1",
"as.factor(Treatment_C)Video 2" = "Video 2", "Z_Mean_NR" = "NR-Index", "as.factor(Gender)2" = "Female",
"Age_mean" = "Age", "QFIncome" = "Income", "Uni_degree" = "University Degree")
htmlreg(l=list(logit_choice_treat_uni), stars = c(0.01, 0.05, 0.1), float.pos="tb",
custom.model.names = c("Logit regression"),
custom.header = list("Dependent variable: Voluntary Information Access" = 1),
custom.coef.map = list_ols, custom.note = "%stars. Standard errors in parentheses.",
label = "tab:logit_vt")
```
```
:::
<!-- ## Logit Regression: "Protest voting" -->
<!-- ## Logit Regression: "Protest voting" -->
<!-- Does treatment affect "protest" voting? -->
<!-- Does treatment affect "protest" voting? -->
...
@@ -467,6 +484,40 @@ ggplot(data=mxl_melt_info, aes(x=Coefficent, y=abs(value), fill=variable)) +
...
@@ -467,6 +484,40 @@ ggplot(data=mxl_melt_info, aes(x=Coefficent, y=abs(value), fill=variable)) +
theme(legend.position = c(0.85, 0.8))
theme(legend.position = c(0.85, 0.8))
```
```
## MXL: Paper Table
::: {style="font-size: 60%;"}
::: panel-tabset
### Case A
```{r, results='asis'}
htmlreg(c(case_A_cols[1], remGOF(case_A_cols[2:4])),
custom.coef.map = list("natural" = "Naturalness", "walking" = "Walking Distance", "rent" = "Rent",
"ASC_sq" = "ASC SQ", "_natural" = "Naturalness", "nat" = "Naturalness",
"wd" = "Walking Distance", "asc" = "ASC SQ"),
custom.model.names = c("Mean", "SD", "Treated", "Voluntary Treated"), custom.note = "%stars. Standard errors in parentheses.",
stars = c(0.01, 0.05, 0.1), float.pos="tb",
label = "tab:mxl_A")
```
### Case C
```{r, results='asis'}
htmlreg(c(case_C_cols[1], remGOF(case_C_cols[2:7])),
custom.coef.map = list("natural" = "Naturalness", "walking" = "Walking Distance", "rent" = "Rent",
"ASC_sq" = "ASC SQ", "_natural" = "Naturalness", "nat" = "Naturalness",
"wd" = "Walking Distance", "asc" = "ASC SQ",
"ASC_sq_info" = "ASC SQ", "rent_info" = "Rent", "nat_info" = "Naturalness", "walking_info" = "Walking Distance"),
custom.model.names = c("Mean", "SD", "Video 1", "Video 2", "Text 1", "Text 2", "No Info"), custom.note = "%stars. Standard errors in parentheses.",
stars = c(0.01, 0.05, 0.1), float.pos="tb",
label = "tab:mxl_C")
```
:::
:::
## MXL: WTP space
## MXL: WTP space
::: panel-tabset
::: panel-tabset
...
@@ -521,9 +572,29 @@ summary(mxl_wtp_case_c_rentINT)
...
@@ -521,9 +572,29 @@ summary(mxl_wtp_case_c_rentINT)
<!-- ::: -->
<!-- ::: -->
## MXL: WTP space
## MXL: WTP space with NR index (new)
::: panel-tabset
### Scenario A
```{r}
summary(mxl_wtp_NR_case_a_rentINT)
```
### Scenario C
```{r}
summary(mxl_wtp_NR_case_c_rentINT)
```
:::
## MXL: WTP space with NR index (old)
with NR index
::: panel-tabset
::: panel-tabset
### Scenario A
### Scenario A
...
@@ -545,6 +616,13 @@ summary(mxl_wtp_case_c_NR)
...
@@ -545,6 +616,13 @@ summary(mxl_wtp_case_c_NR)
```
```
:::
:::
## Case D
```{r}
summary(case_d)
```
<!-- ## MXL: WTP space -->
<!-- ## MXL: WTP space -->
<!-- ::: panel-tabset -->
<!-- ::: panel-tabset -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment