Position: Home page » Computing » Stata command for variable decentralization 6

Stata command for variable decentralization 6

Publish: 2021-04-10 03:36:25
1. According to Hou Jietai: the so-called centralization refers to subtracting the mean value of a variable from its expected value. For sample data, each observation value of a variable is subtracted from the sample average value of the variable, and the transformed variable is centralized
for your question, subtract the mean from each measurement.
2. Only iron pick can dig ore and water in the mine cave. It's better to bring some wood and a fire into the mine cave. You can only knock round stones by the river to have a small chance to proce iron ore. The Iron pick is not useful for iron ore. It's the same to decide what equipment you wear. The iron spear and crossbow must be available, and then according to the cold and hot conditions of the mine cave you want to go to at that time
3. For example, if you want to assign "grade 3" in the
variable
grade
to 3, command: Gen
newvar = 3
If
grade = = "grade 3"
/ / newvar is a newly generated variable. Because grade 3 is character type, you need to add
"
"
4. In Stata, the matrix and variable can be freely transformed. The commands are mkmat and SVMAT respectively. Regression is easier. Just use Reg to do it
5. Standard treatment is required to be used for standardizaization processing of variations (x-value value)/divided divided divided criteria differences (x-value value)/cbr/br//>method1 - gengengengen
method2 - gengengen
- own - y: x1 x1 x1 x2 x2 x2 m m
, in interexchange between x2 x2 and mbr /br />, in order of interinterchange between x2 and mmm2 and its crew of its operating between x2 and 2 and mmm1, need to be standardized by X2 and mm2, and re-resource its crMethod br/>1 -- gen

. sum x2 x2 <2

<

< x2 > 8438 = 55.11448 = 15.1841 = 16 < 111

. gen x21 = (x2-55.11448)/15.1841

. sum x21 x21 <21br


<

< x21  < 8438 > 1.44e-07 <99997 <2.576016 <3.680529
-x21 is a new variation after standardization egen x22=std(x2)

. sum x22 <22


<
6. xi:reg GDP i.reg1 i.reg2 i.reg3 i.reg4 i.reg5 i.reg6 i.reg7 i.reg8 i.reg9

xi:表示自动生成虚拟变量 i.变量名
7. For example, Y: X1
x2
m
introces the interaction term between x2 and m to investigate the regulatory effect of M
before introcing interaction terms, we need to standardize x2 and M separately, and then take their proct.
8. Do you mean x? For example, age, the code number in the data is v012
you are
codebook v012
Gen age = 1
recode age 1 = 0 if v012 & lt; 4
recode age1=0 if v012> six
9. Just use the order command
order variable 1, variable 2, variable 3... To sort the variables in the order you wrote

if you want a variable at the end, imperative
order variable a, last
if you want a variable at the front
order variable a, first
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750