Prof. Danny de Castro

Danny de Castro

Professor de Economia, Ciência de Dados e Inteligência Artificial

Foto de Danny de Castro
Pai do Bento
Ensino

Aulas

Sou aluno: acessar as aulasEscolha a sua turma e entre com o código passado em sala.
Apresentação

Quem sou eu

Me chamo Danny! Sou pai do Bento 👶🏼 e da cachorrinha Pinot 🐕.

Rubro-Negro 🔴⚫️

👨‍🎓 Sou Doutor (2022) em Economia pela Universidade Católica de Brasília, Mestre em Economia pela UnB (2017) e Licenciado em Matemática.

Entre 2021 e 2022 fui pesquisador visitante pela ONU/OIT e tenho publicações recentes em periódicos acadêmicos.

Me realizei na docência em sala de aula. Sou Professor Titular na graduação de negócios do IDP, lecionando as disciplinas de Data Science, e Professor do Mestrado em Ciência de Dados e Inteligência Artificial no Setor Público.

Minha área de pesquisa é a Microeconometria aplicada, causalidade, matemática aplicada à economia e métodos de machine learning aplicados à estimação preditiva e causal.

Formação

Atuação

  • Professor Titular · Mestrado em Ciência de Dados e Inteligência Artificial · IDP
  • Professor Titular · Graduação em Administração e Economia · EGEN / IDP
  • Professor Visitante · Doutorado e Mestrado em Economia · IDP Brasília e IDP São Paulo
  • Professor Visitante · Doutorado e Mestrado em Administração Pública · IDP
  • Pesquisador visitante · ONU / Organização Internacional do Trabalho (OIT), 2021–2022

Disciplinas

Graduação em Administração e Economia

  • Data Science I: Aprendendo a Programar
  • Data Science IV: Machine Learning e Inteligência Artificial

Mestrado em Ciência de Dados e Inteligência Artificial

  • Deep Learning e Processamento de Linguagem Natural
  • Storytelling de Dados
  • Estatística e Análise de Regressão

Doutorado e Mestrado em Administração Pública

  • Inteligência Artificial aplicada ao Setor Público

Doutorado e Mestrado em Economia

  • Inteligência Artificial aplicada à Economia

Áreas de pesquisa

Microeconometria aplicada, inferência causal, matemática aplicada à economia e métodos de machine learning aplicados à estimação preditiva e causal.

Produção

As publicações e os trabalhos em andamento, com resumo, estão em Pesquisa. O currículo completo está no Lattes.

Pesquisa

Trabalhos recentes

Rationality and financial risk aversion in large language models: Evidence from a multi-model Holt–Laury experimentCastro Soares, D.; Bittencourt, L. E. B. F.; Tessmann, M. S. · Journal of Behavioral and Experimental Finance, v. 51, 2026

Large language models are increasingly consulted for financial decisions, but whether their choices resemble those of human decision-makers or conform to the prescriptions of rational choice theory remains unclear. We administer the Holt–Laury risk-elicitation task to 98 base language models, giving 118 model–reasoning configurations, under eight prompt conditions that vary temperature, payoff scale, question order, an advice framing, and explicit risk-attitude instructions, for a total of 35,338 valid responses. We define rationality operationally as compliance with stochastic dominance and the single-switch property, take the model as the unit of analysis, and benchmark behavior against 5793 consistent human subjects using formal equivalence tests. Reasoning-enabled configurations are rational in roughly 99% of cases and are statistically equivalent to a risk-neutral expected-value maximizer in every non-persona condition, whereas reasoning-disabled configurations violate a rationality criterion in 25–52% of cases and are far more dispersed across models than the human subjects. No configuration reproduces the moderate risk aversion of the human benchmark. Explicit persona instructions move behavior across almost the entire scale, and reasoning-enabled configurations follow them with near-perfect precision. These results indicate that a language model's risk attitude is not a fixed property but a configurable parameter.

Illegal markets and contemporary slavery: Evidence from the mahogany trade in the AmazonAraujo, D.; Barreto, Y.; Castro, D.; Tigre, R. · Journal of Development Economics, v. 166, 2024

Modern slavery is a major global concern, with an estimated 49.7 million people enslaved in 2022. This paper explores the impact of illegal markets on this phenomenon, focusing on the complete shutdown of the mahogany market in the late 90s in Brazil. Utilizing a quasi-experimental research design that exploits the natural variation in the occurrence of mahogany trees in Brazilian municipalities, we employ novel administrative data on labor inspections to assess the effects of this shutdown on modern slavery. Our results indicate that the mahogany market shutdown significantly increased the probability of labor inspections discovering slave labor in affected municipalities. The outcomes are not influenced by coordinated police efforts targeting locations following the alteration in the law. We validate our findings with several robustness exercises.

Todas as publicações e trabalhos em andamento →