Hi, we've integrated Growthbook in our repo(React+...
# sdk-react
l
Hi, we've integrated Growthbook in our repo(React+Redux) and were running a simple A/A test to check if we'd done the setup correctly. But for one GA event the results are skewed even though growthbook is getting the right count of data for the same event under Metrics tab. We confirmed the metric count is correct by querying the DB but on querying the DB for the experiment result the count is different from what's shown in Growthbook. Does anyone have any idea what could be causing the experiment result to be skewed?
r
Hi Niraj, thanks for your patience! - Are you using GA4 and BigQuery? - Are you using the cloud-hosted or self-hosted version of GrowthBook? - Could you send some screenshots that show the full screen of the unexpected results? - Can you show me the Metric's SQL (screenshot or copy-paste code snippet)?
l
Hi August, 1. Yes, I'm using GA4 and Big Query 2. Self hosted version
3. Here's the screenshot of the experiment results
4. Here's the
donation
metric SQL
Copy code
SELECT
  user_id,
  user_pseudo_id as anonymous_id,
  TIMESTAMP_MICROS(event_timestamp) as timestamp
FROM
  <analytics_table>
WHERE
  event_name = 'donation'  
  AND _TABLE_SUFFIX BETWEEN '{{startYear}}{{startMonth}}{{startDay}}' AND '{{endYear}}{{endMonth}}{{endDay}}'
r
Hi Niraj, thanks for your patience over the holidays. In this particular case, the Goal Metric that is causing problems ("donation") has a very small baseline of only 0.02% (100 users out of 464,000). The Variation is at 0.03% (119 users out of 463,000). So it's a difference of only 19 users on a very small sample size and it's causing a 90% chance-to-win. This can be attributed to expected statistical variation because the sample size of users is so small (around 100 to 120). We usually recommend at least a 95% threshold since you will see 90% on average once out of every 10 A/A tests just by random chance. With 95%, it only happens 1 out of 20 times
l
Hey, so looking at it after the holidays the chance to win has 98.5% and the gap keeps increasing. So I'm not sure if the 95% threshold will work because it's cross it now. I've attached the latest experiment result screenshots
image.png
Yes I can understand it's a small sample size but we're a bit unsure as to whether we've set up growthbook properly or not. Looking at the above results in a sense makes things even more confusing
r
Hi Niraj, I've asked our Data Scientist to chime in here. He should be able to comment during US business hours tomorrow.
Hey Niraj, in this case it's likely that this result is just due to chance. It's hard to know for sure, but it's possible you just got unlucky with a few more ​`donation`​ metrics in the variation than in the control. I don't see anything else that would likely cause the deviation, especially if you're sure that the test is an a/a test. The easiest way to confirm would be to click Make Changes -> Start a New Phase -> New Phase and re-randomize and see if the results look better on a second run.
l
I see. I'll take another look at it