Section #: 01

Students must abide by UVic academic regulations and observe standards of scholarly integrity (i.e. no plagiarism or cheating). Therefore, this assignment must be taken individually and not with a friend, classmate, or group. You are also prohibited from sharing any information about the assignment with others. I affirm that I will not give or receive any aid on this assignment and that all work will be my own. W.Khunpluem

A big part of environmental economics is estimating peoples willingness to pay for an improvement in environmental quality and/or their willingness to accept for a degradation in environmental quality. Theoretically these two measures should be very close for small changes for the good in question. Nevertheless there are countless studies that show that these two measures can be significantly different even for inconsequential i.e. small value goods… like chocolate bars. One possibility explanation for this divergence is that humans suffer from what is known an endowment effect. I emphasized suffer because this is an irrational behaviour. The endowment effect, in a nutshell, is that you demand more to give up something than what you are willing to pay for it in the first place. It is as if possessing a good makes it more valuable to you. In the context of environmental economics, people demand more compensation for a slight decrease in environmental quality than what they are willing to pay for a slight improvement. It is as if possessing the current level of environmental quality makes it more valuable that what your were willing to pay to get that level of environmental quality in the first place. It is an open question whether or not the endowment effect is an actual feature of human behaviour or is:

Recall that in experiment 3 there were 3 separate parts:

  1. A second price sealed bid auction where you bid on a chocolate bar.
  2. You were asked with what probability you think you won the auction in part 1.
  3. Finally, you stated the minimum that you would be willing to sell a chocolate bar back to me (if you in fact won the auction in part 1).

The treatments were designed to manipulate both alternative explanations of the endowment effect.

Note that this is a very demanding test of the endowment effect: The probability of you becoming endowed (winning the auction) is low and unknown, so very little opportunity to become attached to the chocolate bar.

1 (0 marks)

If you participated in the experiment, tell me which treatment you were in and describe how you decided to what to bid and ask.

The treatment is huge but has no hint. I was one of the participant who is trying pay chocolate in a cheaper price, but I lost. I decided to bid around 5 dollars and ask for 10 dollars in the beginning to just see how it goes.

2 (10 marks)

In words, why is it in your best interest to bid your true value in a second price sealed bid auction, regardless of the number of bidders?

In the second price auction, our bidding price does not affect our price since it does only affect the probabilities of winning. After we know how our first bid went, we bid our second prices auction. Low bidding price does not affect the actual payment, but it only affects the probabilities of winning.

3 (10 marks)

In words, why is it in your best interest to ask your forgone value in a second price procurement auction, regardless of the number of askers?

Our asking price does not affect the actual returns, but it only does affects the probabilities of sale in the second price auction. Too high asking price does not raise the return surplus. Asking price would be equal to the forgone value, causing the optimal of the probabilities of the sale to appear.

4 (5 marks)

In your .R file use the assignment operator <- and the pipe operator %>% overwrite mydf using mydf as the input to the following functions: i.e. start with mydf <- mydf %>%, THEN do the following: group_by() variable oneid, THEN create new variables using the mutate() function: mean_bid=mean(bid), mean_ask=mean(ask), sd_bid=sd(bid), sd_ask=sd(ask), ask_minus_bid=ask-bid, mean_ask_minus_bid=mean(ask_minus_bid). Put a copy of your code into the chunk below, noting eval=FALSE, which means that the code is not evaluated (run).

mydf <- mydf%>%
  group_by(oneid)%>%
  mutate(mean_bid=mean(bid), mean_ask=mean(ask), sd_bid=sd(bid), sd_ask=sd(ask), ask_minus_bid=ask-bid, mean_ask_minus_bid=mean(ask_minus_bid))

5 (5 marks)

In your .R file use functions ggplot() with argument data=mydf and aes() with arguments x=bid, y=ask and col=treatment to create first_plot. To this blank plot add (using the + operator) geom_abline() with arguments slope=1,intercept=0,col="white",lwd=2 and geom_jitter() with arguments alpha=.5,width=1,height=1. Give the plot a descriptive title using function labs() with argument title="a short description of what I think the plot shows".

6 (5 marks)

What is the significance of the white diagonal line? What pattern can you see in the data?

The white diagonal line has a slope of 1 and an intercept of 0. The blue dots (the small group with hints) on the top left show that ask are larger than the bid. Moreover, the green dots (the big group with no hints) on the bottom right represents that ask is smaller than the bid.

7 (5 marks)

In your .R file use functions ggplot() with argument data=mydf and aes() with arguments x=mean_bid, y=mean_ask,col=treatment,label=oneid to create second_plot. To this blank plot add (using the + operator) geom_abline() with arguments slope=1,intercept=0,col="white",lwd=2 and geom_text() with no arguments.

8 (5 marks)

What pattern can you see in the data? The graph represents the average bid and ask of each treatment. The big group with no hints is on the bottom right of the picture, showing that most of the mean ask are smaller than the mean bid. However, the small group with hints is on the upper left of the picture, showing that the mean ask is larger than the mean bid.

9 (5 marks)

In your .R file create a dataframe called second_hull which uses dataframe mydf as an input, THEN group_by() treatment THEN slice(chull(mean_bid,mean_ask)). Copy your code into the chunk below, noting eval=FALSE, which means that the code is not evaluated (run).

second_hull <- mydf%>%
  group_by(treatment)%>%
  slice(chull(mean_bid, mean_ask))

10 (5 marks)

In your .R file create third_plot, by adding to second_plot using the assignment <- and addition + operators: ie. third_plot<-second_plot+. To the plot add a geom_polygon() with arguments data=second_hull, alpha=.3 and mapping=aes() with arguments fill=treatment, col=treatment.

11 (5 marks)

What pattern can you see in the data? The ask data and big group bid with hints are larger than the ask data and the small group bid with no hints. It is on the upper left.

12 (5 marks)

In your .R file use functions ggplot() with argument data=mydf and aes() with arguments x=sd_bid, y=sd_ask,col=treatment,label=oneid to create fourth_plot. To this blank plot add (using the + operator) geom_text() with no arguments.

13 (5 marks)

What pattern can you see in the data?

The graph represents the standard deviation of each treatment.The big group with no hints has bigger standard deviation and their data is scattered. On the other hand, the small group data with hints are way more concentrated so, they have smaller standard deviation.

14 (5 marks)

In your .R file create a dataframe called fourth_hull which uses dataframe mydf as an input, THEN group_by() treatment THEN slice(chull(sd_bid,sd_ask)). Copy your code into the chunk below, noting eval=FALSE, which means that the code is not evaluated (run).

fourth_hull<-mydf%>%
  group_by(treatment)%>%
  slice(chull(sd_bid,sd_ask))

15 (5 marks)

In your .R file create fifth_plot, by adding to fourth_plot using the assignment <- and addition + operators: ie. fifth_plot<-fourth_plot+. To the plot add a geom_polygon() with arguments data=second_hull, alpha=.3 and mapping=aes() with arguments fill=treatment, col=treatment.

16 (5 marks)

What pattern can you see in the data?

The polygon shows that the big group standard deviation with no hints are generally greater while the small group standard deviation is smaller since the small group data with hints are way more concentrated.

17 (5 marks)

In your .R file use functions ggplot() with argument data=mydf and aes() with arguments x=round,y=ask_minus_bid to create a blank plot called sixth_plot. Use the addition operator + to add geom_hline() with arguments yintercept = 0,lwd=2,col="white" and geom_line() with arguments aes(group=oneid, col=mean_ask_minus_bid). Add the colour palette scale_colour_viridis_c() and a geom_smooth() with arguments col="black",lwd=2,se=FALSE. Finally, create a separate plot for each treatment using facet_grid() with arguments group_size~hints.

18 (10 marks)

What pattern can you see in the data? The big group with no hints provides the ask-bid which is < 0, but the small group with hints provides the ask-bid which is > 0. Also, the another two treatments move around the area of the 0.