📜 ⬆️ ⬇️

HabroStatistics - at what time is it better to publish an article on Habré?

Astrologers have announced a month of statistics, and perhaps I will join today to the authors of statistical articles.

Surely you wonder - when is it better to publish an article? On weekends to read it carefully? On Friday, so that everyone has a good mood? On Monday, when after the weekend everyone crawls out reading Habr? Or maybe it is better to choose the time of the lunch break? At once I will make a reservation that this question is important not only for Habr - approximately the same can be said about almost any publications, if there isn’t some very harsh concrete. I have my own hypothesis, I will tell about it at the end of the article.

Of course, this question has already been asked . And answered . And draw statistics . A lot of statistics ! So why another article on this? But why? Almost anywhere is not taken into account that should be taken into account at the same time as the publication and day of the week. On Monday, Monday morning has cardinal differences from Sunday morning. Also, no one took into account the holidays. And also, many took as the date of publication of the post the date of the first comment, so as not to bother with the conversion. And if an article is published at some non-standard time when people are sleeping, then comments there may appear very soon ...

I honestly tried to find someone already prepared statistics, but alas - some were unsuitable, some of the links died, the rest were unsuitable because of the collection of obviously incorrect information. So go ahead - write your bike. I will not give the code (obviously), for whom it is interesting - it can look at github , you can also download the generated database (now about six months, then there will be more).
')
Download, raspars, poured into the database. Well done. We look. Now the truth will be revealed - when is it necessary to publish, so that there will be many views, comments, the rating grows and ponies run across the lawn. For a start, let's see when you can get the most rating.

SELECT CEIL(AVG(rate)) AS avg_rate, COUNT(id) AS quantity, CEIL(AVG(comments)) AS avg_comments, CEIL(AVG(views)) AS avg_views, WEEKDAY(created)+1 AS DAY, HOUR(created) AS HOUR FROM posts WHERE DATE_FORMAT(created, '%m-%d') NOT IN (SELECT `date` FROM holidays) AND rate > 0 AND comments > 0 GROUP BY WEEKDAY(created), HOUR(created) ORDER BY AVG(rate) DESC 

Explanation: we exclude from the sampling holidays and posts that have a rating and the number of comments not more than zero.

*drumroll*

Results Plate
avg_ratequantityavg_commentsavg_viewsdayhour
149229558,0002one
91one2152,00076
86383423343four
81four964950026
75313526334fivefive
68nineteen1514316one0
673803033479
65five6124,000622
64five7833600four2
631356196936sixteen
553thirty2433469
55four2523,000one7
51128015,0003one
4965826,500five3
47sixteen4015407onenineteen
4493523223323
43ten611690027
43720866073
4272723,000fiveone
42ten3223700614
412ten245006four
41123718584oneone
4115eleven17934722
4066224667222
4037016,00077
39134123154five0
38five2117,00063
38sixteen53188137sixteen
3864118167five2
3763918,50072
37ten262280030
36sixteen3215750715
3632621,0006five
35five291220033
3593413112714
35121719834717
34eight1715675618
34282422,000four17
335928173233eleven
33628183346nineteen
33eight3518542613
32141818715723
32five7415600712
32nineteen1717737fournineteen
32372416649318
327242142937
31onefour13,00036
31172816530four22
31fournineteen155006ten
31172720236220
3112128622one23
31132116077oneeight
thirtyfive2619400five22
thirtyeightthirty1912560
thirty482114917314
thirty232315566218
thirty411816854315
2931886677eleven
29eleven6715910one20
292eleven6000623
29153316667four20
29eight2116,500721
29eight2224750four3
29five4321,000fivefour
2960sixteen12500one13
29eleven281727332
29122612500321
29482311855one9
282326130443nineteen
28342714824fourten
28122514584four7
28472815979215
28452718489five13
28262313462four9
28eight1418250621
28622714203312
2761413834one2
2732515,0007ten
275820132422eleven
273929142312sixteen
272447500fourfive
27472113362foursixteen
27391815565five15
27612115558one12
27512212311four13
27eleven3715546five20
276849167foureight
27nineteen2012632five17
26eleven2515637fiveeight
26222413773four18
26372311621one17
2626nineteen127312nineteen
264520152002ten
2672318143five7
26482013521fiveten
26eight137625615
26eight1210,000one3
26602213550313
2622514,00062
26542511630one15
26232113740fivenineteen
26eleven2615273713
26eleven1812819five21
26481710792onesixteen
25713144296eleven
2572018143five23
25581514121fiveeleven
25321711407317
25642111,500foureleven
25five6213,00020
2532012,0006eight
25492114959fivesixteen
25591811085four15
25541811667oneten
25253212773one18
24eight1513750one22
24253414480five18
243171433470
245121126873ten
24742413227oneeleven
2444sixteen10877one14
23267,00067
23471212469four14
23five1810,80023
23341710098five14
23ten3114300612
2322260002five
233thirty10667five6
23511711059five12
23thirty2011267217
2238eleven1007929
22elevennineteen144557nineteen
224725119153sixteen
22foursixteen10,500four23
2213149231221
22ten2612,400one21
22821812342212
22five2413,4006one
21641713250four12
21614113342four
219sixteen74453eight
21four1711,500onefive
21sixteen12106252eight
20one1320007four
202eight75003five
20671810598213
2013139924718
207nineteen1085822
20451310600214
20122310167four0
nineteen71413143617
nineteen397,000620
nineteenten149200four21
nineteen24sixteen9959five9
18fourfive10,500four6
1815208267320
183666677one
17fourfour6000fourone
1722310,000fourfour
172913682339
sixteen12ten8,000223
156eight8500322
13teneight7100720
13five265200onefour
6onefour2000one6


Urgent news! The best results by rating are given by the publication on Tuesday at one in the morning! And in any case, do not publish on Monday at 4 or 6 am - your post will be doomed!

The class. Now let's see when it’s better to post to get more comments . I will not stick a sign, a lot of HTML code - I’ll just say that Tuesday morning is again the leader, and worst of all is Thursday morning and Wednesday six in the morning.
Viewed - better on Tuesday at one in the morning, worse on Monday at 6 in the morning.

What is this magic time for - Tuesday at night? Maybe those who are "in the subject" only at this time and published? Let's check:

 SELECT * FROM posts WHERE WEEKDAY(created)+1=2 AND HOUR(created)=1 

The answer is already obvious to many:

Think before opening the spoiler
idcreatedratecommentsviews
2734032016-01-19 01:59:00262834,000
2695772015-10-27 01:19:0027256182000


From here we make logical conclusions on when it is best to publish an article. Sorry, another spoiler - for those who are not attentive and immediately decided to open the findings. I recommend to think again over the question before opening the spoiler.

Secrets of the universe, without SMS and registration
If you think a little more and pick up various options for sampling, it becomes clear that any “useful output” does not depend on the time of publication of the article. On any given day and time, an article may receive a number of ratings, views, and comments depending solely on its quality. My own hypothesis was confirmed.

It is best to publish an article - when you have a good, interesting and beautiful article ready. With love, your captain.

PS The author is well aware of the huge number of pogreh in this study, and it claims to be a joke rather than statistics. But in the joke there is a hint. It was not without reason that the Toaster, quite seriously, was asked a question and answered about the best publication time. Colleagues, write quality texts and do not worry about anything else.

PS2. Judging by the instantly arrived minuses, the revelers really thought that now they would be told the best time to publish an article. Which again shows that the question and this answer are very relevant.

In fact, there is still the question of how the rating of an article depends on its audience reach - but this is a fairly obvious topic, and does not apply to what we wanted to find out in this particular topic.

Thank you all, all the good articles! We meet here, at the very optimal time that we have identified.

UPD . A continuation and partial refutation of this article is in the second part .

Source: https://habr.com/ru/post/279607/


All Articles