[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KK2S43YBWFBAW91S84D095":3,"skill-same:01M6KK2S43YBWFBAW91S84D095":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6KK2S43YBWFBAW91S84D095","excel-weighted-stats",null,"How to calculate weighted means and descriptive statistics (min, max, median, percentiles, simple mean) in Excel formulas via openpyxl. Use this skill whenever the user asks for SUMPRODUCT-based weighted averages, GDP-weighted means, percentile calculations, or descriptive statistics in Excel.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-opus-4-6\u002Fweighted-gdp-calculation\u002Fexcel-weighted-stats\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000004","电子表格","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"stats","excel weighted stats","xlsx","how","calculate","user","use","simple","max","statistics","how to","median","via","formulas","excel formulas","openpyxl","for","2026-11-10 10:12:30",false,"---\nname: excel-weighted-stats\ndescription: >\n  How to calculate weighted means and descriptive statistics (min, max, median,\n  percentiles, simple mean) in Excel formulas via openpyxl. Use this skill\n  whenever the user asks for SUMPRODUCT-based weighted averages, GDP-weighted\n  means, percentile calculations, or descriptive statistics in Excel.\n---\n\n# Weighted Mean and Descriptive Statistics in Excel\n\n## Weighted Mean with SUMPRODUCT\n\nThe GDP-weighted mean of a percentage series:\n\n```\n=ROUND(SUMPRODUCT(value_range, weight_range) \u002F SUM(weight_range), 1)\n```\n\n- `value_range`: the calculated percentages (e.g., `H35:H40`)\n- `weight_range`: the GDP values used as weights (e.g., `H26:H31`)\n\nBoth ranges must be the same size. SUMPRODUCT multiplies element-wise and sums.\n\n### Why This Works\nIf `pct_i = (exports_i - imports_i) \u002F gdp_i * 100`, then:\n```\nSUMPRODUCT(pct, gdp) \u002F SUM(gdp)\n= SUM(pct_i * gdp_i) \u002F SUM(gdp_i)\n= 100 * SUM(net_exports_i) \u002F SUM(gdp_i)\n```\nThis is the aggregate net-exports-to-GDP ratio for the group.\n\n## Descriptive Statistics Formulas\n\n| Statistic | Excel Formula |\n|-----------|---------------|\n| Min | `=MIN(range)` |\n| Max | `=MAX(range)` |\n| Median | `=MEDIAN(range)` |\n| Simple mean | `=AVERAGE(range)` |\n| 25th percentile | `=PERCENTILE(range, 0.25)` |\n| 75th percentile | `=PERCENTILE(range, 0.75)` |\n\n### Rounding to 1 Decimal (percentage display)\nWrap in ROUND: `=ROUND(MIN(H35:H40), 1)`\n\n## Net Exports as Percent of GDP\n\n```\n=ROUND((Exports - Imports) \u002F GDP * 100, 1)\n```\n\nExample cell formula:\n```\n=ROUND((H12-H19)\u002FH26*100,1)\n```\n\nThis yields a value like `12.3` (not `0.123`), matching the requirement to display\npercentages as whole-number-scale values.\n\n## openpyxl Example\n\n```python\nws = wb['Task']\n\n# Net exports % of GDP (row 35, columns H-L)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}35'] = f'=ROUND(({col}12-{col}19)\u002F{col}26*100,1)'\n\n# Descriptive stats (rows 42-47)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}42'] = f'=ROUND(MIN({col}35:{col}40),1)'\n    ws[f'{col}43'] = f'=ROUND(MAX({col}35:{col}40),1)'\n    ws[f'{col}44'] = f'=ROUND(MEDIAN({col}35:{col}40),1)'\n    ws[f'{col}45'] = f'=ROUND(AVERAGE({col}35:{col}40),1)'\n    ws[f'{col}46'] = f'=ROUND(PERCENTILE({col}35:{col}40,0.25),1)'\n    ws[f'{col}47'] = f'=ROUND(PERCENTILE({col}35:{col}40,0.75),1)'\n\n# Weighted mean (row 50)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}50'] = f'=ROUND(SUMPRODUCT({col}35:{col}40,{col}26:{col}31)\u002FSUM({col}26:{col}31),1)'\n```\n","# Weighted Mean and Descriptive Statistics in Excel\n\n## Weighted Mean with SUMPRODUCT\n\nThe GDP-weighted mean of a percentage series:\n\n```\n=ROUND(SUMPRODUCT(value_range, weight_range) \u002F SUM(weight_range), 1)\n```\n\n- `value_range`: the calculated percentages (e.g., `H35:H40`)\n- `weight_range`: the GDP values used as weights (e.g., `H26:H31`)\n\nBoth ranges must be the same size. SUMPRODUCT multiplies element-wise and sums.\n\n### Why This Works\nIf `pct_i = (exports_i - imports_i) \u002F gdp_i * 100`, then:\n```\nSUMPRODUCT(pct, gdp) \u002F SUM(gdp)\n= SUM(pct_i * gdp_i) \u002F SUM(gdp_i)\n= 100 * SUM(net_exports_i) \u002F SUM(gdp_i)\n```\nThis is the aggregate net-exports-to-GDP ratio for the group.\n\n## Descriptive Statistics Formulas\n\n| Statistic | Excel Formula |\n|-----------|---------------|\n| Min | `=MIN(range)` |\n| Max | `=MAX(range)` |\n| Median | `=MEDIAN(range)` |\n| Simple mean | `=AVERAGE(range)` |\n| 25th percentile | `=PERCENTILE(range, 0.25)` |\n| 75th percentile | `=PERCENTILE(range, 0.75)` |\n\n### Rounding to 1 Decimal (percentage display)\nWrap in ROUND: `=ROUND(MIN(H35:H40), 1)`\n\n## Net Exports as Percent of GDP\n\n```\n=ROUND((Exports - Imports) \u002F GDP * 100, 1)\n```\n\nExample cell formula:\n```\n=ROUND((H12-H19)\u002FH26*100,1)\n```\n\nThis yields a value like `12.3` (not `0.123`), matching the requirement to display\npercentages as whole-number-scale values.\n\n## openpyxl Example\n\n```python\nws = wb['Task']\n\n# Net exports % of GDP (row 35, columns H-L)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}35'] = f'=ROUND(({col}12-{col}19)\u002F{col}26*100,1)'\n\n# Descriptive stats (rows 42-47)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}42'] = f'=ROUND(MIN({col}35:{col}40),1)'\n    ws[f'{col}43'] = f'=ROUND(MAX({col}35:{col}40),1)'\n    ws[f'{col}44'] = f'=ROUND(MEDIAN({col}35:{col}40),1)'\n    ws[f'{col}45'] = f'=ROUND(AVERAGE({col}35:{col}40),1)'\n    ws[f'{col}46'] = f'=ROUND(PERCENTILE({col}35:{col}40,0.25),1)'\n    ws[f'{col}47'] = f'=ROUND(PERCENTILE({col}35:{col}40,0.75),1)'\n\n# Weighted mean (row 50)\nfor col in ['H','I','J','K','L']:\n    ws[f'{col}50'] = f'=ROUND(SUMPRODUCT({col}35:{col}40,{col}26:{col}31)\u002FSUM({col}26:{col}31),1)'\n```\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb4-skill-creator-claude-opus-4-6\u002Fweighted-gdp-calculation\u002Fexcel-weighted-stats",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill excel-weighted-stats",{"tool":59,"command":60},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill excel-weighted-stats",{"tool":62,"command":63},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill excel-weighted-stats","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-opus-4-6\u002Fweighted-gdp-calculation\u002Fexcel-weighted-stats\u002FSKILL.md",true,[],[68,84,107,125,145,157],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":77,"publishedAt":40},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[74],{"categoryNo":75,"categoryName":76,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",[78,79,80,81,82,83],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":93,"publishedAt":40},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[90],{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[94,95,96,97,98,99,100,101,102,39,28,103,104,105,106],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","it","requirements","essential","itineraries",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":40},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[114,115,116,117,118,119,120,97,121,122,98,123,39,124,95],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","you","database",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":40},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[132,133,134,39,135,136,137,138,139,140,141,142,123,143,144],"glm output","output","glm","tasks","metrics","json","basics","guidance","matching","verifier","processing","root","calibration",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":152,"publishedAt":40},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[151],{"categoryNo":91,"categoryName":92,"taxonomyType":20,"taxonomyTypeDesc":21},[153,144,134,133,139,138,135,154,155,39,156],"glm calibration","setup","companion","metric",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":40},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[164,134,138,165,153,144,39,133,166,167,168,29,26,169,135],"glm basics","inspect","relevant","files","good","Evaluation"]