Giter Site home page Giter Site logo

cwwhitney / decision_analysis_course Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 5.0 324.8 MB

๐ŸŽ“ Uni-Bonn Decision Analysis graduate course, lectures and materials

Home Page: https://agtools.app/decision_analysis/

License: MIT License

TeX 1.84% HTML 97.55% R 0.61%
agriculture agriculture-research agroecology bayesian-inference bayesian-statistics decision-analysis decision-theory

decision_analysis_course's People

Contributors

cwwhitney avatar eikeluedeling avatar johanneskopton avatar prajnakarai avatar uelind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

decision_analysis_course's Issues

Multi-criteria Decision Making

So far, as far as I know, all the different possible decision criteria/objectives are combined into one number (usually NPV) to be able to come up with decision suggestions and calculate EVPI and so on.

It would be nice, to be able to report on the "raw" decision outcomes (might be CO2, money, a nutrition metric, ...), be explicit about trade-offs and then weight them in the very last step (possibly consulting decision-makers / stakeholders again). "Option A is more slightly climate-friendly, but option B is a lot more profitable, ... We decided for option X because of ..."

The HoliDA package will be built to support this kind of workflow. Maybe already conceptualize it this way in the course/book/paper?

Glossary of terms

Add a glossary of al the terms used and a definition of these as they apply to this research

cf. this from the EU

image_720

Unstable - Rstudio Connect and the Linux server - parse error: trailing garbage

This and other websites hosted on Rstudio Connect and the Linux server seem to be down:

image_720

The error is about 'parse error: trailing garbage'

1/27 10:29:17.210 (GMT)
Running on host: inresgb-0002
11/27 10:29:17.232 (GMT)
Linux distribution: Ubuntu 20.04.6 LTS (focal)
11/27 10:29:17.236 (GMT)
Using Packrat dir /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.1.2
11/27 10:29:17.244 (GMT)
Server version: 2021.12.1
11/27 10:29:17.244 (GMT)
LANG: en_US.UTF-8
11/27 10:29:17.244 (GMT)
R version: 4.1.2
11/27 10:29:17.244 (GMT)
shiny version: 1.7.1
11/27 10:29:17.244 (GMT)
httpuv version: 1.6.3
11/27 10:29:17.244 (GMT)
rmarkdown version: 2.11
11/27 10:29:17.244 (GMT)
knitr version: 1.37
11/27 10:29:17.244 (GMT)
jsonlite version: 1.7.2
11/27 10:29:17.244 (GMT)
RJSONIO version: (none)
11/27 10:29:17.244 (GMT)
htmltools version: 0.5.2
11/27 10:29:17.244 (GMT)
Using pandoc: /opt/rstudio-connect/ext/pandoc/2.16
11/27 10:29:17.454 (GMT)
Using jsonlite for JSON processing
11/27 10:29:17.459 (GMT)
Using Shiny bookmarking base directory /opt/rstudio-connect/mnt/bookmarks
11/27 10:29:17.459 (GMT)
11/27 10:29:17.459 (GMT)
Starting R with process ID: '1218904'
11/27 10:29:17.508 (GMT)
Shiny R Markdown document starting ...
11/27 10:29:18.404 (GMT)
Error in value[3L] : parse error: trailing garbage
11/27 10:29:18.404 (GMT)
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},
11/27 10:29:18.404 (GMT)
(right here) ------^
11/27 10:29:18.404 (GMT)
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
11/27 10:29:18.404 (GMT)
Execution halted
11/27 10:29:18.404 (GMT)
Shiny R Markdown document exiting ...

Add glossary

Many terms have vastly different meanings, depending on who you ask. So to be explicit, what we are talking about, Katja suggested adding a glossary..

Interesting, but ambiguous terms include:

  • uncertainty
  • risk
  • decision criterion
  • objective
  • utility
  • system
  • holistic
  • systems thinking
  • impact pathway
  • theory of change

json related trailing garbage

Error at https://agtools.app/decision_analysis/

Realted to jsonlite

It might been something wrong with rmarkdown:::shiny_prerendered_prerender(input_rmd, rendered_html, output_dir, prerender_option).

Error in value[3L] : parse error: trailing garbage
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},

Logs:

12/14 14:22:54.188 (GMT)
Running on host: inresgb-0002
12/14 14:22:54.210 (GMT)
Linux distribution: Ubuntu 20.04.6 LTS (focal)
12/14 14:22:54.217 (GMT)
Using Packrat dir /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.1.2
12/14 14:22:54.226 (GMT)
Server version: 2021.12.1
12/14 14:22:54.226 (GMT)
LANG: en_US.UTF-8
12/14 14:22:54.226 (GMT)
R version: 4.1.2
12/14 14:22:54.226 (GMT)
shiny version: 1.7.1
12/14 14:22:54.226 (GMT)
httpuv version: 1.6.3
12/14 14:22:54.226 (GMT)
rmarkdown version: 2.11
12/14 14:22:54.226 (GMT)
knitr version: 1.37
12/14 14:22:54.226 (GMT)
jsonlite version: 1.7.2
12/14 14:22:54.226 (GMT)
RJSONIO version: (none)
12/14 14:22:54.226 (GMT)
htmltools version: 0.5.2
12/14 14:22:54.227 (GMT)
Using pandoc: /opt/rstudio-connect/ext/pandoc/2.16
12/14 14:22:54.445 (GMT)
Using jsonlite for JSON processing
12/14 14:22:54.449 (GMT)
Using Shiny bookmarking base directory /opt/rstudio-connect/mnt/bookmarks
12/14 14:22:54.449 (GMT)
12/14 14:22:54.449 (GMT)
Starting R with process ID: '1549229'
12/14 14:22:54.500 (GMT)
Shiny R Markdown document starting ...
12/14 14:22:55.415 (GMT)
Error in value[3L] : parse error: trailing garbage
12/14 14:22:55.415 (GMT)
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},
12/14 14:22:55.415 (GMT)
Shiny R Markdown document exiting ...
12/14 14:22:55.416 (GMT)
(right here) ------^
12/14 14:22:55.416 (GMT)
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
12/14 14:22:55.416 (GMT)
Execution halted

Earlier conceptual model presentation

It seemed like the progress of some groups wasn't where we expected. An earlier presentation (by at least two weeks), followed by guidance might give them enough time to work on the coding and literature review.

Minor sp package issues (deal with this later)

Note:

The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)

Error: Error: Internal Server Error [500]

Unable to chase this error - Everything on the Rstudio Connect server ran well and the page said 'Activation Complete' but the website just has 'Error: Error: Internal Server Error [500]'. No notes from the build configuration.
Screenshot 2023-04-27 at 5 13 04 PM

Find and link primary sources

I suspect (and in some cases with the EVPI know), that many of the things in How to Measure Anything originate from scientific literature. E. g. the definition of and method to calculate the EVPI are found in scientific literature from at least the 60s.

It can probably be a bit of work, but I would find it interesting to ideally cite the original sources of these concepts.

Evaluating participation of students in the class

A structured evaluation of the participation of the students concerning reading the provided materials and discussion in the class should be developed.

We could remove the multiple choice questions and introduce them in a Mentimeter, which the students can take at the beginning of the class, showing us how well they have understood the content ( 3 to 4 questions in 15 minutes max.). The concepts that have been misunderstood can then be discussed in detail.

Another activity that can be adopted to ensure students read the content posted for them is by providing one discussion question per group in the class. The student leading the discussion ( a different student every week) would present this to the class after 15 minutes.
The tutor could document the participation of the students.
This will form the base for the participation grade of the student.

"An error has occurred"

Getting a strange error on the web app again "An error has occurred"

Screenshot 2024-04-01 at 1 24 06โ€ฏPM

The error point in the logs:

04/01 11:21:49.314 (GMT)
Error in value[3L] : parse error: trailing garbage
04/01 11:21:49.314 (GMT)
":{},"value":["0.10.1"]}]}]} {"type":"list","attributes":{},
04/01 11:21:49.314 (GMT)
(right here) ------^
04/01 11:21:49.314 (GMT)
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne ->
04/01 11:21:49.314 (GMT)
Shiny R Markdown document exiting ...
04/01 11:21:49.314 (GMT)
Execution halted

The full logs:

rstudio-connect.234.0.1222.run_app.g6WZmicSktyEeDdt.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.