Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fig 8 employment growth by firm age #9

Open
andrasvereckei opened this issue Aug 2, 2024 · 4 comments
Open

fig 8 employment growth by firm age #9

andrasvereckei opened this issue Aug 2, 2024 · 4 comments

Comments

@andrasvereckei
Copy link
Collaborator

andrasvereckei commented Aug 2, 2024

Increase employment number depending on the firm age

@generate growth = emp / max_emp_5
@collapse mean_growth = mean(growth), by(firmage, categ)

"Létszám növekedése az életkor függvényében
az első 5 év max létszámához képest
kategóriánként "

@andrasvereckei
Copy link
Collaborator Author

@andrasvereckei
Copy link
Collaborator Author

Firmage is counted on all data with only so firms in the 1980-s.
age_in_balance counted by categorize_size when all state owned firms dropped for all years.

If we use age_in_balance for counting max_emp_5 first five year peak disappears from the graph.

    @egen first_balance = minimum(year), by(frame_id_numeric)
    @generate age_in_balance = year - first_balance + 1
    @egen max_emp_5 = maximum(cond(age_in_balance <= 5, emp, 0)), by(frame_id_numeric)
    @generate growth = emp / max_emp_5

@andrasvereckei
Copy link
Collaborator Author

andrasvereckei commented Nov 8, 2024

We can redefine mean_growth categories.
Now the firms can jump in and out year by year from categorize_size.
Wouldn't it be better to follow firm level mean growth?

@andrasvereckei
Copy link
Collaborator Author

andrasvereckei commented Nov 19, 2024

Settings:

  • Used categorize_size(df) == @drop @if ownership == "state".
    We can use categorize_all(df) if we want to start age_in_balance before 1990.
  • Used age_in_balance in max_emp_5
  • First five years in almost constant because of the max_emp_5. Maybe drop it?
  • The graphs after year 29 seems weird. FIXME

output/fig/mean_growth.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant