This commit is contained in:
wea_ondara
2019-08-17 18:04:15 +02:00
parent e6c381ef5e
commit 58f6d03820
2 changed files with 199 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ def plotbydateold(onlyfiles, oldfiles, outputdir):
plt.plot([dx[0] for dx in dev], [dx[1] for dx in dev], color=colors[type], ls='None', marker='o')
plt.title("KS 2-sided test with new and old users between " + d[0] + " and " + d[1])
plt.xticks(rotation=90)
plt.xlabel("Comparision: X (max) posts - X+1 (max) posts")
plt.xlabel("Comparision: new users X (max) posts - old users posts")
plt.ylabel("p-value")
plt.legend(loc="upper right")
outfile = outputdir + "/ks_olddate_pval_" + d[0] + "_" + d[1] + ".png"
@@ -331,7 +331,7 @@ def plotbydateold(onlyfiles, oldfiles, outputdir):
plt.plot([dx[0] for dx in dev], [dx[1] for dx in dev], color=colors[type], ls='None', marker='o')
plt.title("KS 2-sided test with new and old users between " + d[0] + " and " + d[1])
plt.xticks(rotation=90)
plt.xlabel("Comparision: X (max) posts - X+1 (max) posts")
plt.xlabel("Comparision: new users X (max) posts - old users posts")
plt.ylabel("stat value")
plt.legend(loc="upper right")
outfile = outputdir + "/ks_olddate_stat_" + d[0] + "_" + d[1] + ".png"