https://www.taxconnections.com/taxblog/more-net-investment-income-tax-3-8-niit-and-the-nra-spouse/
More Net Investment Income Tax: 3.8% NIIT And The NRA-Spouse