Hello everyone,
I have a dataset where I have several text_rules belonging to text types inside different groups.
What I want to do is:
By group: replace text_rule belonging to type "REGULSKRL1" with a text_rule belonging to type "REGULSKRL2".
Same goes for SFASSGAAPL1 and SFASSGAPL2.
I tried the following: by COMMENTLETTERCONVERSATIONID: replace text_rule(REGULSKRL1)=text_rule(REGULSKRL2)
however, it did not work, can anyone please help?
Thank you!
group text_rule text_type
2 SFAS 123 issues SFASGAAPL1
2 Deferred, stock-based SFAS 123 only (subcategory) ACCOUNTIL1
2 Executive compensation plan disclosure issues MANAGEMEL1
2. Deferred, stock-based and/or executive comp issues ACCOUNTIL1
2 Deferred, stock-based and/or executive comp issues ACCOUNTIL1
2 Deferred, stock-based SFAS 123 only (subcategory) ACCOUNTIL1
2 SFAS 123 issues SFASGAAPL1
2 Executive compensation plan disclosure issues MANAGEMEL1
2 Regulation S-K, Item 402 issues REGULSKRL1
2 Regulation S-K, Item 402(b) issues REGULSKRL2
2 Regulation S-K, Item 403 issues
2 SFAS 148 issues
2 Deferred, stock-based SFAS 123 only (subcategory) ACCOUNTIL2
2 Deferred, stock-based and/or executive comp issues ACCOUNTIL1
2 APB Opinion No. 25 issues
2 Regulation S-K, Item 402 issues REGULSKRL1
2 SFAS 123 issues SFASGAAPL1
2 SFAS 123, paragraph(s) 45-48 SFASGAAPL2
2 Employment Agreements
2 Executive compensation plan disclosure issues MANAGEMEL1
5 Regulation S-K, Item 402 issues REGULSKRL1
5 Regulation S-K, Item 403 issues
5 Executive compensation plan disclosure issues MANAGEMEL1
5 Deferred, stock-based SFAS 123 only (subcategory) ACCOUNTIL1
5 Pension and related Employee Plan issues
5 SFAS 132(R) issues
5 Deferred, stock-based and/or executive comp issues ACCOUNTIL1
5 SFAS 123(R) issues SFASGAAPL1
5 SFAS 123(R), paragraph(s) A240-242 SFASGAAPL2
Related Posts with replacing observations within groups
Dropping observations is missing valuesHello community, I've downloaded a big dataset with data missing across multiple variables in no re…
Scale Y values for each seperate graphHi all, I am having trouble with scaling the Y values for each individual graph. The data is in lon…
Genetic Matching packageAnalogously to the GenMatch package from R, is there any package in Stata that runs the Genetic Matc…
nlogit - level 2 alternative variable alt not foundDear scholars, I am having a problem running nlogit after the specification of nlogittree. I have t…
What does Stata do with margins when using weighted least squares?I was surprised to find that, with weight (or aweight), margins does not seem to compute the average…
Subscribe to:
Post Comments (Atom)
0 Response to replacing observations within groups
Post a Comment