You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何创建包含原始频数、累计原始频数等四类指标的统计频数表?

Got it, let's walk through how to build that frequency table with all four metrics you need using the GSS dataset on Berkeley SDA. I’ve tinkered with this tool plenty, so I’ll break it down step by step that’s easy to follow:

Step 1: Navigate to Your Recoded Variable

First, since you’ve already recoded the sexual partner count into your custom groups, head to the variable interface and locate your re-coded variable (you might’ve named something like partners_grouped). Click into it to open the analysis setup page.

Step 2: Configure Table Output Metrics

On the analysis setup page, find the Table Options section (it might be labeled "Statistics" or "Output Measures" depending on the SDA version):

  • Make sure your recoded variable is set as the Row Variable—this is what we’ll calculate frequencies for.
  • In the "Frequency Measures" subsection, check these four options explicitly:
    • Raw frequency (usually checked by default, but double-confirm)
    • Cumulative raw frequency (sometimes called "Cumulative Count" in older SDA interfaces)
    • Relative frequency (look for "Proportion" if you want a 0-1 value, or "Percent" for a 0-100 percentage—both count as relative frequency)
    • Cumulative percentage (this should be clearly labeled; don’t skip this one)
Step 3: Verify Your Recoded Groups

In the "Row Categories" area, double-check that your custom groups (the ranges you set) are listed correctly. If you want to exclude missing values (like "Don’t know" or "Refused"), tick the "Exclude missing values" box—this keeps your table clean and ensures cumulative percentages add up to 100%.

Step 4: Generate Your Table

Scroll to the bottom of the page and hit Run Table (or "Generate Output"). SDA will spit out a formatted table that includes all four metrics you requested. Here’s a quick example of what it might look like:

Partner GroupRaw FrequencyCumulative Raw FrequencyRelative FrequencyCumulative Percentage
0-1 Partners1245124546.2%46.2%
2-3 Partners872211732.3%78.5%
4+ Partners573269021.5%100.0%
Quick Troubleshooting
  • If you can’t find cumulative metrics: Some SDA versions hide these in an Advanced Statistics dropdown—expand that section and you’ll see them.
  • Relative frequency vs. percentage: Pick the format that fits your needs; both are valid relative frequency measures.
  • Cumulative percentage doesn’t hit 100%: You probably forgot to exclude missing values—go back and check that box.

内容的提问来源于stack exchange,提问作者yre

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 07:24:11