{"id":794,"date":"2019-04-12T18:13:45","date_gmt":"2019-04-12T16:13:45","guid":{"rendered":"https:\/\/eaa-online.org\/arc\/blog\/blog\/classroom-experiments-real-time-results-presentation\/"},"modified":"2019-04-12T18:13:45","modified_gmt":"2019-04-12T16:13:45","slug":"classroom-experiments-real-time-results-presentation","status":"publish","type":"post","link":"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/","title":{"rendered":"Classroom Experiments with Real-Time Results Presentation"},"content":{"rendered":"<p>Classroom experiments are a great way to communicate insights and R\/shiny is a fantastic tool to develop interactive data displays. Linking the two together, you can build a unique experience for your students! Recently, I used a shiny app to run a classroom experiment in the first class of my introductory cost accounting course. I <a href=\"https:\/\/github.com\/joachim-gassen\/shiny_croom_exp\">uploaded code, data and materials to Github<\/a> so that everybody can reuse it to construct similar experiments and, of course, to replicate the results from our experiment.<\/p>\n<p>The experiment tests whether cost allocation (variable cost or full cost) affects pricing decisions in a simple one product pricing setting.<\/p>\n<p>This is the experimental treatment with variable cost information.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-791\" alt=\"\" src=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_variable_cost.png\" style=\"width: 800px; height: 608px;\" width=\"1011\" height=\"768\" srcset=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_variable_cost.png 1011w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_variable_cost-300x228.png 300w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_variable_cost-768x583.png 768w\" sizes=\"(max-width: 1011px) 100vw, 1011px\" \/><\/p>\n<p>And this is the treatment with full cost information.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-792\" alt=\"\" src=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_full_cost.png\" style=\"width: 800px; height: 602px;\" width=\"1015\" height=\"764\" srcset=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_full_cost.png 1015w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_full_cost-300x226.png 300w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_experiment_full_cost-768x578.png 768w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/p>\n<p>In principle, both formats provide the same underlying information and thus, pricing should not differ across the two treatments if subjects rationally extract all available information.<\/p>\n<p>Under the full cost treatment, however, fix costs are being allocated to units based on expected unit sales. Assuming that students use simple &ldquo;cost plus&rdquo; heuristics when setting their prices, this could imply that they are less likely to set prices below $12 when receiving the full cost treatment. Note that setting prices below $12 might very well be rational when demand elasticity is large as the increased unit sales can compensate for the loss in margin.<\/p>\n<p>These are the results from our experimental run as presented by the real-time shiny result app:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\" size-full wp-image-793\" alt=\"\" src=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_results_app.png\" style=\"width: 800px; height: 1015px;\" width=\"1053\" height=\"1336\" srcset=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_results_app.png 1053w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_results_app-236x300.png 236w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_results_app-807x1024.png 807w, https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/system_files_u310_results_app-768x974.png 768w\" sizes=\"(max-width: 1053px) 100vw, 1053px\" \/><\/p>\n<p>You can <a href=\"https:\/\/trr266.wiwi.hu-berlin.de\/shiny\/kore_croom_eval\/\">assess the online version of our results here<\/a>. It was fun to present the students with the findings of the experiment right after they finalized their online answers. As you can see, for our students it seems as if, in line with some prior literature, full cost accounting causes them to set higher prices. In real life, this might imply the risk of losing market share, eventually pricing oneself out of the market.<\/p>\n<p>Obviously, this finding might be an artefact of me using relatively inexperienced students that only had one prior financial accounting class as subjects. Also, it can be driven by the wording of the treatments (e.g., I did not use the term &lsquo;fixed cost&rsquo; in the full cost treatment). This is why it would be insightful if people could replicate the findings from my class in classes with more experienced students and\/or based on refined treatments.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Replicating the analysis and reusing the code<\/strong><\/p>\n<p>The <a href=\"https:\/\/github.com\/joachim-gassen\/shiny_croom_exp\">Github repository<\/a> contains the data from our analysis as well as all the code that you need to set up the experiment on your own shiny server. I have included the English language version along with the original German language version that I ran in class.<\/p>\n<p>Setting up your own shiny server is not as hard as it might sound (for starters, see <a href=\"https:\/\/shiny.rstudio.com\/deploy\/\">here<\/a> and <a href=\"https:\/\/deanattali.com\/2015\/05\/09\/setup-rstudio-shiny-server-digital-ocean\/\">here<\/a>). If you want to re-run the experiment in your class for didactical purposes and\/or to replicate our findings, you can also reach out and I can provide you links to our shiny server at Humboldt so that you can run the experiment with your students.<\/p>\n<p>If you want to use the code as a starting point for your own classroom experiments, the <a href=\"https:\/\/github.com\/joachim-gassen\/shiny_croom_exp\">Github repository<\/a> contains some additional info about the code. In any case, I would be very happy to get in touch if you are reusing the code for your own projects. In particular, I would be interested in hearing about people that (want to) replicate our experimental classroom result. Feel free to comment below. Alternatively, you can reach me via <a href=\"mailto:gassen@wiwi.hu-berlin.de?subject=Your%20classroom%20experiment\">email<\/a> or <a href=\"https:\/\/twitter.com\/JoachimGassen\">twitter<\/a>.<\/p>\n<p>Enjoy!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Classroom experiments are a great way to communicate insights and R\/shiny is a fantastic tool to develop interactive data displays. Linking the two together, you can build a unique experience for your students! Recently, I used a shiny app to run a classroom experiment in the first class of my introductory cost accounting course. I [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":795,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[1],"tags":[2,3],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Classroom Experiments with Real-Time Results Presentation - ARC<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Classroom Experiments with Real-Time Results Presentation - ARC\" \/>\n<meta property=\"og:description\" content=\"Classroom experiments are a great way to communicate insights and R\/shiny is a fantastic tool to develop interactive data displays. Linking the two together, you can build a unique experience for your students! Recently, I used a shiny app to run a classroom experiment in the first class of my introductory cost accounting course. I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/\" \/>\n<meta property=\"og:site_name\" content=\"ARC\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-12T16:13:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/croom_exp.png\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"386\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joachim Gassen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JoachimGassen\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joachim Gassen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/\",\"url\":\"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/\",\"name\":\"Classroom Experiments with Real-Time Results Presentation - ARC\",\"isPartOf\":{\"@id\":\"https:\/\/eaa-online.org\/arc\/#website\"},\"datePublished\":\"2019-04-12T16:13:45+00:00\",\"dateModified\":\"2019-04-12T16:13:45+00:00\",\"author\":{\"@id\":\"https:\/\/eaa-online.org\/arc\/#\/schema\/person\/d3ddbac034c7641becf43d4b15d321e2\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eaa-online.org\/arc\/#website\",\"url\":\"https:\/\/eaa-online.org\/arc\/\",\"name\":\"ARC\",\"description\":\"Advanced Resources Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eaa-online.org\/arc\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/eaa-online.org\/arc\/#\/schema\/person\/d3ddbac034c7641becf43d4b15d321e2\",\"name\":\"Joachim Gassen\",\"sameAs\":[\"https:\/\/twitter.com\/@JoachimGassen\"],\"url\":\"https:\/\/eaa-online.org\/arc\/blog\/members\/24\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Classroom Experiments with Real-Time Results Presentation - ARC","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Classroom Experiments with Real-Time Results Presentation - ARC","og_description":"Classroom experiments are a great way to communicate insights and R\/shiny is a fantastic tool to develop interactive data displays. Linking the two together, you can build a unique experience for your students! Recently, I used a shiny app to run a classroom experiment in the first class of my introductory cost accounting course. I [&hellip;]","og_url":"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/","og_site_name":"ARC","article_published_time":"2019-04-12T16:13:45+00:00","og_image":[{"width":640,"height":386,"url":"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/croom_exp.png","type":"image\/png"}],"author":"Joachim Gassen","twitter_card":"summary_large_image","twitter_creator":"@JoachimGassen","twitter_misc":{"Written by":"Joachim Gassen","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/","url":"https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/","name":"Classroom Experiments with Real-Time Results Presentation - ARC","isPartOf":{"@id":"https:\/\/eaa-online.org\/arc\/#website"},"datePublished":"2019-04-12T16:13:45+00:00","dateModified":"2019-04-12T16:13:45+00:00","author":{"@id":"https:\/\/eaa-online.org\/arc\/#\/schema\/person\/d3ddbac034c7641becf43d4b15d321e2"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eaa-online.org\/arc\/blog\/2019\/04\/12\/classroom-experiments-real-time-results-presentation\/"]}]},{"@type":"WebSite","@id":"https:\/\/eaa-online.org\/arc\/#website","url":"https:\/\/eaa-online.org\/arc\/","name":"ARC","description":"Advanced Resources Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eaa-online.org\/arc\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/eaa-online.org\/arc\/#\/schema\/person\/d3ddbac034c7641becf43d4b15d321e2","name":"Joachim Gassen","sameAs":["https:\/\/twitter.com\/@JoachimGassen"],"url":"https:\/\/eaa-online.org\/arc\/blog\/members\/24\/"}]}},"jetpack_featured_media_url":"https:\/\/eaa-online.org\/app\/uploads\/sites\/3\/2019\/04\/croom_exp.png","_links":{"self":[{"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/posts\/794"}],"collection":[{"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/comments?post=794"}],"version-history":[{"count":0,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/posts\/794\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/media\/795"}],"wp:attachment":[{"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/media?parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/categories?post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eaa-online.org\/arc\/wp-json\/wp\/v2\/tags?post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}