英文: lm with dummies' interactions 问题 我一直在使用 Prestige 数据集,它来自 mdhglm 包。我想了解一下,如果考虑了预测变量 'type' 的虚...
在R中为每个小时创建一个虚拟矩阵?
英文: Creating a matrix of dummies for each hour in R? 问题 我的数据集跨越了一年。一开始是每15分钟一个数据点,然后我将其汇总成了每小时一个数据点。...
创建基于列中唯一值的 n 列的可伸缩 M 代码?
英文: Scaleable M code to create n number of columns based on the unique values in a column? 问题 我有一个充满...
如何在R中修复glm变量中的奇异性。
英文: how to fix singularities in glm variables in R 问题 I have an issue with adding one of my (dummy) ...
Create a dummy variable based on two variables x1 and x2 (dummy=x1 only if at least one adjacent x2=yes)
英文: Create a dummy variable based on two variables x1 and x2 (dummy=x1 only if at least one adjacent...
如何在 Stata 中使用字节格式列创建虚拟变量?
英文: How do I create a dummy variables using a byte format column in Stata? 问题 我有一个性别列,其中要么是"Fem...
Linear regression with independent variable plus 1 Standard Deviation
英文: Linear regression with independent variable plus 1 Standard Deviation 问题 这是您提供的代码部分,无需翻译: Depv I...