{
  "lang": "en",
  "mod_datos": {
    "title": "Data loading and validation",
    "input_panel": "Data input",
    "file_label": "Data file",
    "file_hint": "CSV · TSV · TXT · XLSX · XLS · SAV · POR · DTA · SAS7BDAT · XPT · RDS",
    "load_error": "Error loading file:",
    "example_btn": "Load example data",
    "preview": "Preview",
    "log": "Log",
    "source_card": "Data source",
    "preview_card": "Preview",
    "status": "Status",
    "no_data": "No data has been loaded.",
    "log_rows": "rows",
    "log_cols": "columns",
    "log_vars": "variables"
  },
  "mod_diseno": {
    "title": "Survey design",
    "subtitle": "Define the structure of complex sampling",
    "params_card": "Design parameters",
    "design_type": "Design type",
    "srs": "Simple (SRS)",
    "stratified": "Stratified",
    "cluster": "Clusters / Multi-stage",
    "build_btn": "Build design",
    "results_card": "Results",
    "design_summary": "Design summary",
    "r_code": "R code",
    "diagnostic": "Diagnostics",
    "weight_var": "Sample weight",
    "strata_var": "Stratum variable",
    "n_stages": "Number of stages",
    "strata": "Stratum",
    "lonely_psu": "Strategy for single PSU",
    "lonely_adjust": "Conservative adjustment",
    "lonely_average": "Stratum average",
    "lonely_certainty": "Certainty",
    "cluster_stage": "Stage cluster",
    "none": "None",
    "error_build": "Error building design:",
    "tab_config": "Configure design",
    "tab_variables": "Create variables",
    "theory": {
      "srs": {
        "title": "Simple Random Sampling (SRS)",
        "desc": "Each population unit has the same probability of being selected.",
        "estimator_h": "Population mean estimator",
        "variance_h": "Variance of the estimator",
        "yi_desc": "\\(y_i\\): observed value of the variable for unit \\(i\\).",
        "n_desc": "\\(n\\): sample size.",
        "N_desc": "\\(N\\): population size.",
        "S2_desc": "\\(S^2\\): population variance of the variable of interest."
      },
      "stratified": {
        "title": "Stratified Sampling",
        "desc": "The population is divided into homogeneous subgroups called strata.",
        "estimator_h": "Stratified mean estimator",
        "variance_h": "Variance of the estimator",
        "H_desc": "\\(H\\): total number of strata.",
        "Wh_desc": "\\(W_h = N_h/N\\): population weight of stratum \\(h\\).",
        "nh_desc": "\\(n_h\\): sample size in stratum \\(h\\).",
        "S2h_desc": "\\(S_h^2\\): within-stratum variance for stratum \\(h\\)."
      },
      "cluster": {
        "title": "Cluster / Multi-stage Sampling",
        "desc": "Units are selected in groups called clusters or PSUs.",
        "estimator_h": "Horvitz-Thompson Estimator",
        "variance_h": "Variance of the estimator",
        "pi_desc": "\\(\\pi_i\\): inclusion probability of unit \\(i\\).",
        "piij_desc": "\\(\\pi_{ij}\\): joint inclusion probability of \\(i\\) and \\(j\\).",
        "wi_desc": "\\(1/\\pi_i\\): sampling weight of unit \\(i\\)."
      }
    }
  },
  "mod_variables": {
    "title": "Variable creation",
    "subtitle": "Create and transform variables on the active survey design",
    "no_design": "You must first build the survey design in the 'Configure design' tab.",
    "mode_basic": "Basic",
    "mode_expert": "Expert (R)",
    "var_name": "New variable name",
    "op_type": "Operation type",
    "op_arithmetic": "Arithmetic",
    "op_mathfun": "Mathematical function",
    "op_indicator": "Indicator (0/1)",
    "op_recode": "Recode",
    "op_cut": "Intervals / Quantiles",
    "arith_left": "Left variable",
    "arith_op": "Operator",
    "arith_rtype": "Right side",
    "arith_rvar": "Variable",
    "arith_rconst": "Constant",
    "mathfun_fn": "Function",
    "mathfun_var": "Numeric variable",
    "mathfun_digits": "Decimal places",
    "ind_var": "Variable",
    "ind_op": "Condition",
    "ind_val": "Threshold or value",
    "ind_val_ph": "e.g.: 200  or  urban",
    "recode_src": "Variable to recode",
    "recode_hint": "Edit the 'New value' column directly in the table (max. 50 categories):",
    "recode_col_orig": "Original value",
    "recode_col_new": "New value",
    "cut_var": "Numeric variable",
    "cut_type": "Cut type",
    "cut_terciles": "Terciles (3 groups)",
    "cut_quartiles": "Quartiles (4 groups)",
    "cut_quintiles": "Quintiles (5 groups)",
    "cut_deciles": "Deciles (10 groups)",
    "cut_custom": "Custom",
    "cut_breaks": "Break points (comma-separated)",
    "expert_label": "R code",
    "expert_hint": "One variable per line, using <- assignment:",
    "btn_add": "Add",
    "btn_preview": "Preview",
    "preview_title": "Generated R code",
    "vars_title": "Derived variables",
    "vars_original": "orig.",
    "vars_new": "derived",
    "no_vars": "No derived variables yet. Use the form to create one.",
    "err_no_name": "You must specify a variable name.",
    "err_invalid_name": "The name contains invalid characters (use letters, numbers, dots or underscores).",
    "err_exists": "A variable with that name already exists in the design.",
    "err_apply": "Error applying variable:",
    "err_no_assignments": "No valid assignments found. Use the form: name <- expression",
    "success_add": "Variable successfully added to the design."
  },
  "mod_estimacion": {
    "title": "Estimation",
    "subtitle": "Calculates statistics with complex sample design correction",
    "params_card": "Parameters",
    "estimator_label": "Estimation type",
    "mean": "Mean",
    "total": "Total",
    "prop": "Proportion",
    "ratio": "Ratio",
    "quantile": "Quantiles",
    "numerator": "Numerator",
    "denominator": "Denominator",
    "probs": "Quantiles (e.g., 0.25, 0.5, 0.75)",
    "y_var": "Variable of interest",
    "domain_vars": "Domain(s) (optional)",
    "run_btn": "Run estimation",
    "results_card": "Results",
    "theory_title": "Theoretical framework",
    "status_title": "Estimation status",
    "result_title": "Result",
    "quality_title": "Quality indicators",
    "not_run": "Estimation has not yet been run.",
    "global": "Global",
    "ratio_num_level": "Category (numerator)",
    "ratio_den_level": "Category (denominator)",
    "none": "None",
    "select_theory": "Select an estimator to view its theoretical framework.",
    "var_interes": "variable_of_interest",
    "tipo_est": "estimation_type",
    "dominios": "domains"
  },
  "mod_tablas": {
    "title": "Estimation tables",
    "subtitle": "Collection of results generated in the session",
    "no_tables": "No saved estimations",
    "no_tables_hint": "Run an estimation in the previous tab to see results here.",
    "count_badge": "saved table(s)",
    "clear_all": "Clear all",
    "download_all": "Download all",
    "download_table": "Download table",
    "estimator_lbl": "Estimator",
    "variable_lbl": "Variable",
    "domains_lbl": "Domains",
    "global": "Global",
    "timestamp_lbl": "Executed",
    "rows_lbl": "rows"
  },
  "mod_inferencia": {
    "title": "Statistical inference",
    "subtitle": "Hypothesis testing and inequality indicators under complex sampling design",
    "params_card": "Parameters",
    "analysis_label": "Analysis type",
    "gini": "Gini coefficient",
    "correlation": "Correlation",
    "hyptest": "Hypothesis test",
    "crosstable": "Cross-tabulation",
    "gini_var": "Variable",
    "domain_opt": "Domain (optional)",
    "none": "None",
    "cor_x": "Variable X",
    "cor_y": "Variable Y",
    "hyp_y": "Response variable (numeric)",
    "hyp_group": "Group variable (2 categories)",
    "ct_row": "Row variable",
    "ct_col": "Column variable",
    "ct_statistic": "Test statistic",
    "stat_F": "F (Rao-Scott)",
    "stat_chisq": "Chi² (Rao-Scott)",
    "stat_wald": "Wald",
    "run_btn": "Run analysis",
    "theory_title": "Theoretical framework",
    "status_title": "Analysis status",
    "result_title": "Result",
    "download_title": "Download",
    "not_run": "The analysis has not been run yet.",
    "status_ok": "Completed successfully",
    "err_same_var": "Variables X and Y must be different.",
    "err_compute": "Error running the analysis:",
    "ct_test_title": "Independence test (Rao-Scott)",
    "ct_props_title": "Row proportion table",
    "contrasts": "Contrasts",
    "ctr_y": "Response variable (numeric)",
    "ctr_group": "Group variable",
    "ctr_bonferroni": "Bonferroni correction",
    "ctr_mode": "Mode",
    "ctr_mode_all": "All pairs",
    "ctr_mode_custom": "Custom",
    "ctr_matrix_title": "Contrast matrix",
    "ctr_matrix_hint": "Edit the coefficients in the table on the right panel.",
    "ctr_add": "Add",
    "ctr_del": "Remove",
    "ctr_sum_hint": "Tip: coefficients should sum to 0 for mean comparisons.",
    "ctr_pairs_title": "Contrast results",
    "ctr_pairs_count": "contrast(s)",
    "err_no_contrasts": "Define at least one contrast in the table before running.",
    "err_coef_expr": "is not a valid numeric expression (use decimals or expressions like 1/3, -2/3).",
    "meta_prefix": "Inference:",
    "plot_section": "Chart"
  },
  "app": {
    "footer": "Developed with R Shiny · ",
    "exit_btn": "Exit",
    "tabs": {
      "portada": "Home",
      "datos": "Data",
      "diseno": "Survey design",
      "estimacion": "Estimation",
      "inferencia": "Inference",
      "tablas": "Tables"
    }
  },
  "cover": {
    "app_active": "App running",
    "desc": "Statistical analysis of complex survey data. Define survey designs, estimate indicators with design-based corrections, and visualize results with uncertainty measures — no coding required.",
    "btn": "Get started",
    "feat1": {
      "title": "Data loading",
      "desc": "Import CSV, TSV, XLSX, XLS, SAV, DTA, SAS7BDAT and RDS files. Get started immediately with the built-in example dataset."
    },
    "feat2": {
      "title": "Survey design",
      "desc": "Configure SRS, stratified, and multi-stage designs with expansion weights and finite population correction."
    },
    "feat3": {
      "title": "Estimation",
      "desc": "Compute means, totals, proportions, and quantiles by domain, with CI, standard error, and coefficient of variation."
    }
  }
}
