I have a collection of 108 data points in the following format:
page height | % of users who scrolled upto 25% of page | 50% | 75% | 100% (full page)
I'm trying to find the influence of page height on the percent viewership of scroll.
I tried to do regression testing with R, but completely got lost when I started implementing it because the numbers didn't make sense.
My basic formula structure with R was:
data <- lm(page_height ~ twenty_five, data = pagesize_table)
The goal is:
- How can I correlate the relationship between page height and % scroll?
- How can I identify the cost of an additional page height versus % scroll? This is tricky because what I want to say is something along the line of "For every 100 pixels added, you lose Y% of users. I know this is possible if I can generate a regression model formula. But not sure how to do it when there are three levels involved.
Head of data:
V1 V2 V3 V4 V5
1 2318 0.1968 0.3793 0.0519 0.0750
2 3402 0.4859 0.2270 0.0162 0.0619
3 5804 0.0756 0.6321 0.0414 0.0080
4 17431 0.1986 0.2838 0.0039 0.0104
5 11841 0.2969 0.3085 0.0000 0.0012
6 13884 0.3837 0.0384 0.0008 0.0000
twenty_five
variable? Is it a column of 1's (person did) & 0's (didn't) scroll 25% of the way down? What doeshead(pagesize_table)
look like? $\endgroup$